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 75a5fe7 commit 9ec1f84Copy full SHA for 9ec1f84
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -560,7 +560,7 @@ object CheckUnused:
560
type MessageInfo = (UnusedSymbol, SrcPos, String) // string is origin or empty
561
562
def warnings(using Context): Array[MessageInfo] =
563
- val actionable = ctx.settings.rewrite.value.nonEmpty
+ val actionable: true = true //ctx.settings.rewrite.value.nonEmpty
564
val warnings = ArrayBuilder.make[MessageInfo]
565
def warnAt(pos: SrcPos)(msg: UnusedSymbol, origin: String = Diagnostic.OriginWarning.NoOrigin): Unit =
566
warnings.addOne((msg, pos, origin))
0 commit comments