mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add constraint fix `AllowAutoClosurePointerConversion` and corresponding diagnostic `AutoClosurePointerConversionFailure`. When we discover that we're trying to do an inout-to-pointer conversion in `matchTypes`, add the constraint fix, which tries to do the conversion as if the pointer type is a regular function argument.
279 KiB
279 KiB