mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Currently `getPotentialBindingsForRelationalConstraint` doesn't respect the fact that type of key path expression has to be a form of `KeyPath`, instead it could eagerly try to bind it to `Any` or other contextual type if it's only available information. This patch aims to fix this situation by filtering potential bindings available for type variable representing type of the key path expression. Resolves: SR-10467
35 KiB
35 KiB