Files
swift-mirror/lib/Sema/CSBindings.cpp
Pavel Yaskevich 03a9caac0f [CSBindings] Make sure that transitive bindings aren't inferred on itself
It's possible to find current type variable while trying to infer
transitive bindings (because sources are gathered from multiple
different type variables and current type variable could be a
representative of an equivalence class), let's make sure we don't
attempt to use constraints which refer to current type variable
on the left-hand side.

Resolves: rdar://problem/65724310
2020-07-17 18:06:26 -07:00

44 KiB