File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ trait QuotesAndSplices {
403
403
* ): Expr[S & List[t] @unchecked] => ...
404
404
* ```
405
405
*
406
- * For a scrutinee of type `S`, the `: Expr[S & List[t] @unchecked]` tels the pattern that if the pattern matched the the bound
406
+ * For a scrutinee of type `S`, the `: Expr[S & List[t] @unchecked]` tells the pattern that if the pattern matched the bound
407
407
* scrutinee `x @ '{..}` is of type `Expr[S & List[t] @unchecked]`.
408
408
*/
409
409
private def typedQuotePattern (tree : untpd.Quote , pt : Type , qctx : Tree )(using Context ): Tree = {
@@ -478,6 +478,6 @@ trait QuotesAndSplices {
478
478
implicits = quotedPattern :: Nil ,
479
479
patterns = splicePat :: Nil ),
480
480
TypeTree (quoteClass.typeRef.appliedTo(replaceBindings(quoted1.tpe) & quotedPt))
481
- ).annotated(New (ref( defn.UncheckedAnnot .typeRef) ))
481
+ ).annotated(New (defn.UncheckedAnnot .typeRef, Nil ))
482
482
}
483
483
}
You can’t perform that action at this time.
0 commit comments