AntiAliasing
does not update local aliasing information after replacement
#1506
Labels
AntiAliasing
does not update local aliasing information after replacement
#1506
The following snippet is incorrectly transformed by
AntiAliasing
after the marked line, resulting in the snippet being accepted even though it is incorrect.If we check the tree we have after
AntiAliasing
, we get (with some cleaning):This is due to
AntiAliasing
not updating the aliasing information oflhs
: after the call toreplaceLhs
,lhs
is no longer aliasingrefref.lhs
.Note that this is very similar to #1497 but manifesting in a different way.
Will we be able to fix
AntiAliasing
one day? After all, what is crooked cannot be made straight 😋The text was updated successfully, but these errors were encountered: