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 47f76b8 commit c5d5214Copy full SHA for c5d5214
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -436,7 +436,7 @@ object CheckUnused:
436
if inliners == 0
437
&& languageImport(imp.expr).isEmpty
438
&& !imp.isGeneratedByEnum
439
- && !ctx.outer.owner.name.isReplWrapperName
+ && !ctx.owner.name.isReplWrapperName
440
then
441
imps.put(imp, ())
442
case tree: Bind =>
0 commit comments