File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ trait ConstraintHandling {
366366 if (tpw eq tp) || dropped.forall(_ frozen_<:< tpw) then tp else tpw
367367 end dropTransparentTraits
368368
369- /** If `tp` is an applied match type alias with is also an unreducible application
369+ /** If `tp` is an applied match type alias which is also an unreducible application
370370 * of a higher-kinded type to a wildcard argument, widen to the match type's bound,
371371 * in order to avoid an unreducible application of higher-kinded type ... in inferred type"
372372 * error in PostTyper. Fixes #11246.
@@ -391,7 +391,7 @@ trait ConstraintHandling {
391391 *
392392 * Don't do these widenings if `bound` is a subtype of `scala.Singleton`.
393393 * Also, if the result of these widenings is a TypeRef to a module class,
394- * and this type ref is different from `inst`, replace by a TermRef t
394+ * and this type ref is different from `inst`, replace by a TermRef to
395395 * its source module instead.
396396 *
397397 * At this point we also drop the @Repeated annotation to avoid inferring type arguments with it,
You can’t perform that action at this time.
0 commit comments