Skip to content

Commit 9dcef1c

Browse files
Add missing check
1 parent ac11eb3 commit 9dcef1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
316316
}
317317
case tp: NamedType =>
318318
check(tp.symbol, tp, pos)
319-
foldOver(acc, tp)
319+
if (!tp.symbol.is(Param))
320+
foldOver(acc, tp)
320321
case tp: ThisType =>
321322
check(tp.cls, tp, pos)
322323
foldOver(acc, tp)

0 commit comments

Comments
 (0)