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 be980fd commit ff7b0a2Copy full SHA for ff7b0a2
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