@@ -1171,7 +1171,7 @@ trait Applications extends Compatibility {
1171
1171
* type by means of a type ascription, as long as the widened type is
1172
1172
* still compatible with the expected type.
1173
1173
* The underlying type is the intersection of all class parents of the
1174
- * orginal type.
1174
+ * original type.
1175
1175
*/
1176
1176
def widenEnumCase (tree : Tree , pt : Type )(using Context ): Tree =
1177
1177
val sym = tree.symbol
@@ -1259,7 +1259,7 @@ trait Applications extends Compatibility {
1259
1259
* whereas overloaded variants need to have a conforming variant.
1260
1260
*/
1261
1261
def trySelectUnapply (qual : untpd.Tree )(fallBack : (Tree , TyperState ) => Tree ): Tree = {
1262
- // try first for non-overloaded, then for overloaded ocurrences
1262
+ // try first for non-overloaded, then for overloaded occurrences
1263
1263
def tryWithName (name : TermName )(fallBack : (Tree , TyperState ) => Tree )(using Context ): Tree =
1264
1264
1265
1265
def tryWithProto (qual : untpd.Tree , targs : List [Tree ], pt : Type )(using Context ) =
@@ -2080,7 +2080,7 @@ trait Applications extends Compatibility {
2080
2080
mappedSym.rawParamss = alt.symbol.rawParamss
2081
2081
// we need rawParamss to find parameters with default arguments,
2082
2082
// but we do not need to be precise right now, since this is just a pre-test before
2083
- // we look up defult getters. If at some point we extract default arguments from the
2083
+ // we look up default getters. If at some point we extract default arguments from the
2084
2084
// parameter symbols themselves, we have to find the right parameter by name, not position.
2085
2085
// That means it's OK to copy parameters wholesale rather than tailoring them to always
2086
2086
// correspond to the type transformation.
@@ -2203,7 +2203,7 @@ trait Applications extends Compatibility {
2203
2203
* This reset is needed because otherwise the original results might
2204
2204
* have added constraints to type parameters which are no longer
2205
2205
* implied after harmonization. No essential constraints are lost by this because
2206
- * the result of harmomization will be compared again with the expected type.
2206
+ * the result of harmonization will be compared again with the expected type.
2207
2207
* Test cases where this matters are in pos/harmomize.scala.
2208
2208
*/
2209
2209
def harmonic [T ](harmonize : List [T ] => List [T ], pt : Type )(op : => List [T ])(using Context ): List [T ] =
@@ -2262,7 +2262,7 @@ trait Applications extends Compatibility {
2262
2262
* with the type parameters of the extension (T1, T2) inferred.
2263
2263
* None is returned if the implicit search fails for any of the leading implicit parameters
2264
2264
* or if the receiver has a wrong type (note that in general the type of the receiver
2265
- * might depend on the exact types of the found instances of the proceding implicits).
2265
+ * might depend on the exact types of the found instances of the proceeding implicits).
2266
2266
* No implicit search is tried for implicits following the receiver or for parameters of the def (D, E).
2267
2267
*/
2268
2268
def tryApplyingExtensionMethod (methodRef : TermRef , receiver : Tree )(using Context ): Option [Tree ] =
0 commit comments