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