Skip to content

Commit 7fd99b6

Browse files
authored
Update compiler/src/dotty/tools/dotc/core/Scopes.scala
1 parent 8d9af0c commit 7fd99b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ object Scopes {
173173
result.nn.unlink(sym)
174174
if keep(sym) then
175175
val newName = rename(sym, sym.name)
176-
if newName ne sym.name then
176+
if newName != sym.name then
177177
drop()
178178
result.nn.enter(newName, sym)
179179
else

0 commit comments

Comments
 (0)