File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ trait QuotesAndSplices {
9090 // * Provide meaningful names for QuoteContext synthesized by within `${ ... }`
9191 // * TODO preserve QuoteContext.tasty path dependent type (see comment below and #8045)
9292 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 }`
9595 val qctxParamTpt = untpd.TypedSplice (TypeTree (defn.QuoteContextClass .typeRef))
9696 val qctxParam = untpd.makeParameter(qctxParamName, qctxParamTpt, untpd.Modifiers (Given ))
9797 val expr = untpd.Function (List (qctxParam), tree.expr).withSpan(tree.span)
@@ -392,4 +392,3 @@ trait QuotesAndSplices {
392392 proto = quoteClass.typeRef.appliedTo(replaceBindings(quoted1.tpe) & quotedPt))
393393 }
394394}
395-
You can’t perform that action at this time.
0 commit comments