scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Improve multi-line code message rendering

Open odersky opened this issue 2 days ago • 0 comments

Improve rendering of messages with multi-line code positions, in two ways:

  • Add a blank line between the error message proper and the code lines that follow it.
  • If there are more than 3 code lines following it, summarize them by printing the first and last line and a ... in between.

odersky avatar Dec 10 '25 17:12 odersky