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 95e1ce2 commit 8c198cfCopy full SHA for 8c198cf
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -554,7 +554,7 @@ object CheckUnused:
554
type MessageInfo = (UnusedSymbol, SrcPos, String) // string is origin or empty
555
556
def warnings(using Context): Array[MessageInfo] =
557
- val actionable = ctx.settings.rewrite.value.nonEmpty
+ val actionable: true = true //ctx.settings.rewrite.value.nonEmpty
558
val warnings = ArrayBuilder.make[MessageInfo]
559
def warnAt(pos: SrcPos)(msg: UnusedSymbol, origin: String = Diagnostic.OriginWarning.NoOrigin): Unit =
560
warnings.addOne((msg, pos, origin))
0 commit comments