Florian Diebold adc7b8ea2d Fix completion with a partially unknown type
To test whether the receiver type matches for the impl, we unify the given self
type (in this case `HashSet<{unknown}>`) with the self type of the
impl (`HashSet<?0>`), but if the given self type contains Unknowns, they won't
be unified with the variables in those places. So we got a receiver type that
was different from the expected one, and concluded the impl doesn't match.

The fix is slightly hacky; if after the unification, our variables are still
there, we make them fall back to Unknown. This does make some sense though,
since we don't want to 'leak' the variables.

Fixes #3547.
2020-03-10 21:02:13 +01:00
..
2020-03-09 14:38:20 +00:00
2020-03-09 11:19:03 +01:00
2020-03-09 08:56:58 +00:00
2020-03-10 18:56:15 +01:00
2020-03-09 08:56:58 +00:00
2020-03-04 01:21:14 +08:00
2020-03-09 00:13:04 +08:00
2020-02-27 14:04:13 +09:00
2020-03-10 18:56:15 +01:00
2020-03-11 00:45:03 +08:00