mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Some of the logic of `canOpenExistentialCallArgument` has to be shared with constraint optimizer which does it's own validation and most importantly - doesn't open overload choice type. In order to share the logic between the solver and the optimizer, let's extract checking that determines whether it's possible to open existential argument into `canOpenExistentialAt`.
34 KiB
34 KiB