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 b9b09f5 commit 8d1cf89Copy full SHA for 8d1cf89
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -473,7 +473,6 @@ object CheckUnused:
473
if inliners == 0
474
&& languageImport(imp.expr).isEmpty
475
&& !imp.isGeneratedByEnum
476
- && !imp.isCompiletimeTesting
477
&& !ctx.owner.name.isReplWrapperName
478
then
479
if imp.isCompiletimeTesting then
0 commit comments