Skip to content

Commit 628b392

Browse files
committed
Revert change of prototype
1 parent dc29d14 commit 628b392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ trait QuotesAndSplices {
328328
val quoted0 = desugar.quotedPattern(quoted, untpd.TypedSplice(TypeTree(quotedPt)))
329329
val quoteCtx = quoteContext.addMode(Mode.QuotedPattern)
330330
val quoted1 =
331-
if quoted.isType then typedType(quoted0, quotedPt)(quoteCtx)
332-
else typedExpr(quoted0, quotedPt)(quoteCtx)
331+
if quoted.isType then typedType(quoted0, WildcardType)(quoteCtx)
332+
else typedExpr(quoted0, WildcardType)(quoteCtx)
333333

334334
val (typeBindings, shape, splices) = splitQuotePattern(quoted1)
335335

0 commit comments

Comments
 (0)