Skip to content

Commit 1bd64d8

Browse files
committed
Use PrepareInlineable.makeInlineable
1 parent 5d527bd commit 1bd64d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ trait QuotesAndSplices {
5353
report.error(em"Quotes require stable Quotes, but found non stable $quotes", quotes.srcPos)
5454

5555
if ctx.mode.is(Mode.Pattern) then
56-
makeInlineable(typedQuotePattern(tree, pt, quotes).withSpan(tree.span))
56+
PrepareInlineable.makeInlineable(typedQuotePattern(tree, pt, quotes).withSpan(tree.span))
5757
else if tree.isTypeQuote then
5858
val msg = em"""Quoted types `'[..]` can only be used in patterns.
5959
|

0 commit comments

Comments
 (0)