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 aede144 commit 2e47114Copy full SHA for 2e47114
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -487,7 +487,7 @@ object CheckUnused:
487
if inliners == 0
488
&& languageImport(imp.expr).isEmpty
489
&& !imp.isGeneratedByEnum
490
- && !ctx.outer.owner.name.isReplWrapperName
+ && !ctx.owner.name.isReplWrapperName
491
then
492
imps.put(imp, ())
493
case tree: Bind =>
0 commit comments