mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The logic here for completion wasn't actually helping things since it would result in adding the var overload to the system, which would result in an ErrorType binding. We could turn the ErrorType into a placeholder when resolving the overload, but the simpler solution is to just allow CSGen to turn the reference into a PlaceholderType. This matches what we do for regular solving, and fixes a crash with an IUO completion. rdar://89369091
4.6 KiB
4.6 KiB