Skip to content

Commit 8d1cf89

Browse files
som-snytttgodzik
authored andcommitted
Import of compiletime.testing nullifies unused lint
[Cherry-picked b325681]
1 parent b9b09f5 commit 8d1cf89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/transform/CheckUnused.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,6 @@ object CheckUnused:
473473
if inliners == 0
474474
&& languageImport(imp.expr).isEmpty
475475
&& !imp.isGeneratedByEnum
476-
&& !imp.isCompiletimeTesting
477476
&& !ctx.owner.name.isReplWrapperName
478477
then
479478
if imp.isCompiletimeTesting then

0 commit comments

Comments
 (0)