mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Disallow implicit conversion or arguments from Array, String, and InOut (formed by &) to pointer types if the argument is for an @autoclosure parameter. These conversions were really only intended to be used for C/ObjC interop, and in some contexts like autoclosures they are not safe. Fixes: rdar://problem/31538995
1.5 KiB
1.5 KiB