File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
compiler/src/dotty/tools/dotc/core
docs/docs/reference/changed-features
tasty/src/dotty/tools/tasty Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -782,7 +782,7 @@ object SymDenotations {
782782 }
783783
784784 /** Is this a denotation of a class that does not have - either direct or inherited -
785- * initaliazion code?
785+ * initialization code?
786786 */
787787 def isNoInitsClass (implicit ctx : Context ): Boolean =
788788 isClass &&
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ differences.
7070 ` Selectable ` is a trait which declares the access operations.
7171
7272- Two access operations, ` selectDynamic ` and ` applyDynamic ` are shared
73- between both approches . In ` Selectable ` , ` applyDynamic ` also takes
73+ between both approaches . In ` Selectable ` , ` applyDynamic ` also takes
7474 ` ClassTag ` indicating the method's formal parameter types. ` Dynamic `
7575 comes with ` updateDynamic ` .
7676
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ sealed trait Tuple extends Any {
1616 scala.runtime.Tuple .toIArray(this )
1717
1818 /** Return a new tuple by prepending the element to `this` tuple.
19- * This opteration is O(this.size)
19+ * This operation is O(this.size)
2020 */
2121 inline def *: [H , This >: this .type <: Tuple ] (x : H ): H *: This =
2222 scala.runtime.Tuple .cons(x, this ).asInstanceOf [H *: This ]
2323
2424 /** Return a new tuple by concatenating `this` tuple with `that` tuple.
25- * This opteration is O(this.size + that.size)
25+ * This operation is O(this.size + that.size)
2626 */
2727 inline def ++ [This >: this .type <: Tuple ](that : Tuple ): Concat [This , that.type ] =
2828 scala.runtime.Tuple .concat(this , that).asInstanceOf [Concat [This , that.type ]]
@@ -200,7 +200,7 @@ sealed trait NonEmptyTuple extends Tuple {
200200 scala.runtime.Tuple .apply(this , 0 ).asInstanceOf [Head [This ]]
201201
202202 /** Get the tail of this tuple.
203- * This opteration is O(this.size)
203+ * This operation is O(this.size)
204204 */
205205 inline def tail [This >: this .type <: NonEmptyTuple ]: Tail [This ] =
206206 scala.runtime.Tuple .tail(this ).asInstanceOf [Tail [This ]]
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Standard-Section: "ASTs" TopLevelStat*
5656
5757 Stat = Term
5858 ValOrDefDef
59- TYPEDEF Length NameRef (type_Term | Template) Modifier* -- modifiers type name (= type | bounds) | moifiers class name template
59+ TYPEDEF Length NameRef (type_Term | Template) Modifier* -- modifiers type name (= type | bounds) | modifiers class name template
6060 IMPORT Length qual_Term Selector* -- import qual selectors
6161 ValOrDefDef = VALDEF Length NameRef type_Term rhs_Term? Modifier* -- modifiers val name : type (= rhs)?
6262 DEFDEF Length NameRef TypeParam* Params* returnType_Term
You can’t perform that action at this time.
0 commit comments