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