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 5074d86 commit 067be4aCopy full SHA for 067be4a
compiler/src/dotty/tools/dotc/printing/SyntaxHighlighting.scala
@@ -388,7 +388,7 @@ object SyntaxHighlighting {
388
colorAt(i) = color
389
} catch {
390
case _: IndexOutOfBoundsException =>
391
- 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")
392
}
393
394
def highlightPosition(pos: Position, color: String) =
0 commit comments