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 f6dae08 commit 9ea3490Copy full SHA for 9ea3490
compiler/src/dotty/tools/dotc/transform/CheckUnused.scala
@@ -456,7 +456,7 @@ object CheckUnused:
456
if inliners == 0
457
&& languageImport(imp.expr).isEmpty
458
&& !imp.isGeneratedByEnum
459
- && !ctx.outer.owner.name.isReplWrapperName
+ && !ctx.owner.name.isReplWrapperName
460
then
461
imps.put(imp, ())
462
case tree: Bind =>
0 commit comments