Skip to content

Commit a4daa29

Browse files
som-snytttgodzik
authored andcommitted
Ignore compiletime.testing for now
[Cherry-picked 4d28ffd]
1 parent b37926b commit a4daa29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

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

0 commit comments

Comments
 (0)