Skip to content

Commit cadb4de

Browse files
committed
Add alternative possition tracking template
When there is the need to recompile the Dotty library the assertion may fail.
1 parent 6eb78e8 commit cadb4de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/ast/Positioned.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ abstract class Positioned(implicit @constructorOnly src: SourceFile) extends Pro
2525

2626
private def uniqueId_=(id: Int): Unit = {
2727
//assert(id != 2523, this)
28+
// if (id == 1234) new Throwable().printStackTrace()
2829
myUniqueId = id
2930
}
3031

0 commit comments

Comments
 (0)