mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
a function conversion to be bad. This encourages the type-checker to place conversions within closures rather than outside; the test case here crashed in SIL verification because of that. (Yes, that means that there's an underlying problem still when the function conversion is required; that's tracked by rdar://15875305.) But in general, function conversions are likely to be expensive, and it's good to avoid them when possible. The setup work to add SK_FunctionConversion was accidentally committed as part of r12813. Swift SVN r12839
72 KiB
72 KiB