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 66e85df commit 2d493f3Copy full SHA for 2d493f3
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -532,7 +532,7 @@ object CheckUnused:
532
type MessageInfo = (UnusedSymbol, SrcPos, String) // string is origin or empty
533
534
def warnings(using Context): Array[MessageInfo] =
535
- val actionable = ctx.settings.rewrite.value.nonEmpty
+ val actionable: true = true //ctx.settings.rewrite.value.nonEmpty
536
val warnings = ArrayBuilder.make[MessageInfo]
537
def warnAt(pos: SrcPos)(msg: UnusedSymbol, origin: String = Diagnostic.OriginWarning.NoOrigin): Unit =
538
warnings.addOne((msg, pos, origin))
0 commit comments