Files
swift-mirror/test/Reflection/Inputs/Closures.swift
Slava Pestov efca93e632 Reflection: Add dumping of capture descriptors to swift-reflection-dump
The tests show that there's some round-tripping issue; I will investigate
this next.
2016-05-02 01:16:25 -07:00

6 lines
145 B
Swift

public func makeSomeClosures<T, U>(t: T, x: Int, y: C1<U>)
-> (() -> (), () -> (), () -> ()) {
return ({ _ = t }, { _ = x }, { _ = y })
}