mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
For the purposes of partial ordering of declarations (e.g., in overload resolution), adjust `@autoclosure` parameter types to the result type of the autoclosure, i.e., the type against which the argument will be matched. This makes overload resoluton agnostic to `@autoclosure`. Fixes SR-6472.
5.9 KiB
5.9 KiB