We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5204a6d commit 50d0fa8Copy full SHA for 50d0fa8
compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -393,7 +393,7 @@ object SyntaxHighlighting {
393
colorAt(i) = color
394
} catch {
395
case _: IndexOutOfBoundsException =>
396
- ctx.error("Encountered tree with invalid position, please open an issue with the code snippet that caused the error")
+ println("Encountered tree with invalid position, please open an issue with the code snippet that caused the error")
397
}
398
399
def highlightPosition(pos: Position, color: String) =
0 commit comments