Avatar
このあたりですかね? // If the variable's type is structurally a function type, use that // type. Otherwise, form a non-escaping function type for the function // parameter. https://github.com/swiftlang/swift/blob/main/lib/Sema/CodeSynthesis.cpp#L242 (edited)