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
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -782,7 +782,7 @@ object SymDenotations {
782
782
}
783
783
784
784
/** Is this a denotation of a class that does not have - either direct or inherited -
785
- * initaliazion code?
785
+ * initialization code?
786
786
*/
787
787
def isNoInitsClass (implicit ctx : Context ): Boolean =
788
788
isClass &&
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ differences.
70
70
` Selectable ` is a trait which declares the access operations.
71
71
72
72
- 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
74
74
` ClassTag ` indicating the method's formal parameter types. ` Dynamic `
75
75
comes with ` updateDynamic ` .
76
76
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ sealed trait Tuple extends Any {
16
16
scala.runtime.Tuple .toIArray(this )
17
17
18
18
/** 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)
20
20
*/
21
21
inline def *: [H , This >: this .type <: Tuple ] (x : H ): H *: This =
22
22
scala.runtime.Tuple .cons(x, this ).asInstanceOf [H *: This ]
23
23
24
24
/** 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)
26
26
*/
27
27
inline def ++ [This >: this .type <: Tuple ](that : Tuple ): Concat [This , that.type ] =
28
28
scala.runtime.Tuple .concat(this , that).asInstanceOf [Concat [This , that.type ]]
@@ -200,7 +200,7 @@ sealed trait NonEmptyTuple extends Tuple {
200
200
scala.runtime.Tuple .apply(this , 0 ).asInstanceOf [Head [This ]]
201
201
202
202
/** Get the tail of this tuple.
203
- * This opteration is O(this.size)
203
+ * This operation is O(this.size)
204
204
*/
205
205
inline def tail [This >: this .type <: NonEmptyTuple ]: Tail [This ] =
206
206
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*
56
56
57
57
Stat = Term
58
58
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
60
60
IMPORT Length qual_Term Selector* -- import qual selectors
61
61
ValOrDefDef = VALDEF Length NameRef type_Term rhs_Term? Modifier* -- modifiers val name : type (= rhs)?
62
62
DEFDEF Length NameRef TypeParam* Params* returnType_Term
You can’t perform that action at this time.
0 commit comments