File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
571571 else foldOver(sym, tree)
572572 }
573573
574- /** The owner to be used in a local context when traversin a tree */
574+ /** The owner to be used in a local context when traversing a tree */
575575 def localOwner (tree : Tree )(using Context ): Symbol =
576576 val sym = tree.symbol
577577 (if sym.is(PackageVal ) then sym.moduleClass else sym).orElse(ctx.owner)
Original file line number Diff line number Diff line change @@ -2516,7 +2516,7 @@ import transform.SymUtils._
25162516 def defKind = if tree.symbol.is(Module ) then " object" else " class"
25172517 def msg = s " Case $defKind definitions are not allowed in inline methods or quoted code. Use a normal $defKind instead. "
25182518 def explain =
2519- em """ Case class/object definitions generate a considerable fooprint in code size.
2519+ em """ Case class/object definitions generate a considerable footprint in code size.
25202520 |Inlining such definition would multiply this footprint for each call site.
25212521 | """ .stripMargin
25222522 }
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ object Selectable:
4747 * on the precise `paramTypes`. Subtypes of `WithoutPreciseParameterTypes`
4848 * can have more relaxed subtyping rules for refinements. They do not need
4949 * the additional restriction that the signatures of the refinement and
50- * the definition that implements the refinment must match.
50+ * the definition that implements the refinement must match.
5151 */
5252 @ since(" 3.1" )
5353 trait WithoutPreciseParameterTypes extends Selectable
You can’t perform that action at this time.
0 commit comments