Skip to content

Commit 99f6fa5

Browse files
committed
fix a bug in transformAfter: iterate over a new denotation instead of an old one.
1 parent 8c8f688 commit 99f6fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/Denotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ object Denotations {
643643
current1.validFor = current.validFor
644644
current1.replaceDenotation(current)
645645
}
646-
current = current.nextInRun
646+
current = current1.nextInRun
647647
}
648648
}
649649

0 commit comments

Comments
 (0)