swift
cfbbb280 - [ConstraintSystem] Allow generic parameters to bind to holes only in diagnostic mode

Commit
3 years ago
[ConstraintSystem] Allow generic parameters to bind to holes only in diagnostic mode If generic parameter gets opened during regular solving it cannot be bound to a hole, that can only happen in diagnostic mode, so let's not even try. Doing so also makes sure that there are no inference side-effects related to holes because bindings are ranked based on their attributes.
Author
Committer
Parents
Loading