Skip to content

Commit 74599a6

Browse files
committed
Revert change in annotation creation
1 parent 076d973 commit 74599a6

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
@@ -478,6 +478,6 @@ trait QuotesAndSplices {
478478
implicits = quotedPattern :: Nil,
479479
patterns = splicePat :: Nil),
480480
TypeTree(quoteClass.typeRef.appliedTo(replaceBindings(quoted1.tpe) & quotedPt))
481-
).annotated(New(defn.UncheckedAnnot.typeRef, Nil))
481+
).annotated(New(ref(defn.UncheckedAnnot.typeRef)))
482482
}
483483
}

0 commit comments

Comments
 (0)