mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If the first type has a code completion token, don't record a same type constraint because otherwise if we have ```swift K.#^COMPLETE^# == Foo ``` we parse this as ``` K == Foo ``` and thus simplify `K` to `Foo`. But we didn't want to state that `K` is `Foo` but that `K` has a member of type `Foo`. rdar://77458518