Skip to content

Commit af680d4

Browse files
committed
fix a bug in transformAfter: iterate over a new denotation instead of an old one.
1 parent 14cbb47 commit af680d4

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
@@ -645,7 +645,7 @@ object Denotations {
645645
current1.validFor = current.validFor
646646
current1.replaceDenotation(current)
647647
}
648-
current = current.nextInRun
648+
current = current1.nextInRun
649649
}
650650
}
651651

0 commit comments

Comments
 (0)