@@ -177,7 +177,7 @@ class Inliner(val call: tpd.Tree)(using Context):
177177 /** A map from the classes of (direct and outer) this references in `rhsToInline`
178178 * to references of their proxies.
179179 * Note that we can't index by the ThisType itself since there are several
180- * possible forms to express what is logicaly the same ThisType. E.g.
180+ * possible forms to express what is logically the same ThisType. E.g.
181181 *
182182 * ThisType(TypeRef(ThisType(p), cls))
183183 *
@@ -338,7 +338,7 @@ class Inliner(val call: tpd.Tree)(using Context):
338338
339339 protected def hasOpaqueProxies = opaqueProxies.nonEmpty
340340
341- /** Map first halfs of opaqueProxies pairs to second halfs , using =:= as equality */
341+ /** Map first halves of opaqueProxies pairs to second halves , using =:= as equality */
342342 private def mapRef (ref : TermRef ): Option [TermRef ] =
343343 opaqueProxies.collectFirst {
344344 case (from, to) if from.symbol == ref.symbol && from =:= ref => to
@@ -1047,13 +1047,13 @@ class Inliner(val call: tpd.Tree)(using Context):
10471047 val evaluatedSplice = inContext(quoted.MacroExpansion .context(inlinedFrom)) {
10481048 Splicer .splice(body, splicePos, inlinedFrom.srcPos, MacroClassLoader .fromContext)
10491049 }
1050- val inlinedNormailizer = new TreeMap {
1050+ val inlinedNormalizer = new TreeMap {
10511051 override def transform (tree : tpd.Tree )(using Context ): tpd.Tree = tree match {
10521052 case Inlined (EmptyTree , Nil , expr) if enclosingInlineds.isEmpty => transform(expr)
10531053 case _ => super .transform(tree)
10541054 }
10551055 }
1056- val normalizedSplice = inlinedNormailizer .transform(evaluatedSplice)
1056+ val normalizedSplice = inlinedNormalizer .transform(evaluatedSplice)
10571057 if (normalizedSplice.isEmpty) normalizedSplice
10581058 else normalizedSplice.withSpan(splicePos.span)
10591059 }
0 commit comments