Closed sorawee closed 3 years ago
Consider:
(let ([abc 1]) (let ([def 2]) (println abc) (println def)))
If we attempt to rename def to abc, we will get a warning:
def
abc
The new name you have chosen, "abc", conflicts with an already established name in this scope.
However, if we rename abc to def, we get no warning. The resulting program:
(let ([def 1]) (let ([def 2]) (println def) (println def)))
is not semantically equivalent to the original program.
Dup of #95.
Consider:
If we attempt to rename
def
toabc
, we will get a warning:However, if we rename
abc
todef
, we get no warning. The resulting program:is not semantically equivalent to the original program.