Skip to content

Commit f849976

Browse files
authored
Backport "Cleanup quote pattern prototype" to LTS (#18979)
Backports #17945 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 4b01a4e + 56f6e62 commit f849976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,6 @@ trait QuotesAndSplices {
443443
fun = unapplyFun.appliedToTypeTrees(typeBindingsTuple :: TypeTree(patType) :: Nil),
444444
implicits = quotedPattern :: Nil,
445445
patterns = splicePat :: Nil,
446-
proto = quoteClass.typeRef.appliedTo(replaceBindings(quoted1.tpe) & quotedPt))
446+
proto = quoteClass.typeRef.appliedTo(replaceBindings(quoted1.tpe)))
447447
}
448448
}

0 commit comments

Comments
 (0)