Skip to content

Commit 0e4fc33

Browse files
oderskyWojciechMazur
authored andcommitted
Update compiler/src/dotty/tools/dotc/core/Scopes.scala
[Cherry-picked 7fd99b6]
1 parent f9d1ab8 commit 0e4fc33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Scopes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ object Scopes {
172172
result.nn.unlink(sym)
173173
if keep(sym) then
174174
val newName = rename(sym, sym.name)
175-
if newName ne sym.name then
175+
if newName != sym.name then
176176
drop()
177177
result.nn.enter(newName, sym)
178178
else

0 commit comments

Comments
 (0)