mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If a (trailing) closure is determined to be an extraneous argument for one of the overload choices it needs to be marked as hole as eagerly as possible and prevented from being resolved because otherwise it's going to be disconnected from the rest of the constraint system and resolution might not be able to find all of the referenced variables. This could result either in crashes or superfluous diagnostics. Resolves: rdar://141012049
618 KiB
618 KiB