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