rules_scala icon indicating copy to clipboard operation
rules_scala copied to clipboard

Compiler diagnostics for scala 3 are missing.

Open ValdemarGr opened this issue 1 year ago • 2 comments
trafficstars

The current Scala 3 diagnostics reporter looks like it is a noop.

It looks like the scala 3 compiler has a ConsoleReporter here. Are there any obstacles for implementing it like the scala 2 variant?

ValdemarGr avatar Aug 25 '24 14:08 ValdemarGr

I've started to work on that, but I cannot assign myself to the issue. I'm getting strange cyclic inheritance errors when extending 'dotc.reporting.ConsoleReporter'. Might need to check if Scala compiler does not produce something strange in the byte code

WojciechMazur avatar Sep 03 '24 15:09 WojciechMazur

@WojciechMazur I also was working on this today, haven't noticed your comment 😓

Looks like I've got it working, but there are no tests yet.

It would be great to join efforts on this.

strange cyclic inheritance errors when extending 'dotc.reporting.ConsoleReporter'.

I chose composition over inheritance 🙂

susliko avatar Sep 04 '24 15:09 susliko