File tree 1 file changed +2
-3
lines changed
compiler/src/dotty/tools/dotc/typer 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ trait QuotesAndSplices {
90
90
// * Provide meaningful names for QuoteContext synthesized by within `${ ... }`
91
91
// * TODO preserve QuoteContext.tasty path dependent type (see comment below and #8045)
92
92
val qctxParamName = NameKinds .UniqueName .fresh(s " qctx ${level - 1 }_ " .toTermName)
93
- // TODO: Refine QuoteContext with the tasty context that the quote reacived
94
- // If encoloseing quote recieves `qctx` then this type should be `QuoteContext { val tasty: qxtx.tasty.type }`
93
+ // TODO: Refine QuoteContext with the tasty context that the quote received
94
+ // If encoloseing quote receives `qctx` then this type should be `QuoteContext { val tasty: qxtx.tasty.type }`
95
95
val qctxParamTpt = untpd.TypedSplice (TypeTree (defn.QuoteContextClass .typeRef))
96
96
val qctxParam = untpd.makeParameter(qctxParamName, qctxParamTpt, untpd.Modifiers (Given ))
97
97
val expr = untpd.Function (List (qctxParam), tree.expr).withSpan(tree.span)
@@ -392,4 +392,3 @@ trait QuotesAndSplices {
392
392
proto = quoteClass.typeRef.appliedTo(replaceBindings(quoted1.tpe) & quotedPt))
393
393
}
394
394
}
395
-
You can’t perform that action at this time.
0 commit comments