Open som-snytt opened 1 month ago
Scala version: 2.13.15
Under -Wnonunit-statement, for some if/else or blocks, warnings are presented "unsorted".
-Wnonunit-statement
if/else
javac/JavaParsers.scala:1029:13: unused value javac/JavaParsers.scala:1126:13: unused value javac/JavaParsers.scala:1106:17: unused value
In order would be more convenient.
It's probably due to traversal order, but I don't know why all such warnings aren't sorted by position.
For cascading errors, you want the underlying cause first.
Scala version: 2.13.15
Under
-Wnonunit-statement
, for someif/else
or blocks, warnings are presented "unsorted".Problem
In order would be more convenient.
It's probably due to traversal order, but I don't know why all such warnings aren't sorted by position.
For cascading errors, you want the underlying cause first.