Skip to content

Commit 3eec8f1

Browse files
committed
Revert change of prototype
1 parent c8d07c2 commit 3eec8f1

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
@@ -329,8 +329,8 @@ trait QuotesAndSplices {
329329
val quoted0 = desugar.quotedPattern(quoted, untpd.TypedSplice(TypeTree(quotedPt)))
330330
val quoteCtx = quoteContext.addMode(Mode.QuotedPattern)
331331
val quoted1 =
332-
if quoted.isType then typedType(quoted0, quotedPt)(quoteCtx)
333-
else typedExpr(quoted0, quotedPt)(quoteCtx)
332+
if quoted.isType then typedType(quoted0, WildcardType)(quoteCtx)
333+
else typedExpr(quoted0, WildcardType)(quoteCtx)
334334

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

0 commit comments

Comments
 (0)