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 b37926b commit a4daa29Copy full SHA for a4daa29
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -473,6 +473,7 @@ 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