mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Currently edge related to the parameter bindings is contracted without properly checking if newly created equivalence class has the same inout & l-value requirements. This patch improves the situation by disallowing contraction of the edges related to parameter binding constraint where left-hand side has `inout` attribute set. Such guarantees that parameter can get `inout` type assigned when argument gets `l-value` type. Resolves: rdar://problem/33429010
37 KiB
37 KiB