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 {
366
366
if (tpw eq tp) || dropped.forall(_ frozen_<:< tpw) then tp else tpw
367
367
end dropTransparentTraits
368
368
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
370
370
* of a higher-kinded type to a wildcard argument, widen to the match type's bound,
371
371
* in order to avoid an unreducible application of higher-kinded type ... in inferred type"
372
372
* error in PostTyper. Fixes #11246.
@@ -391,7 +391,7 @@ trait ConstraintHandling {
391
391
*
392
392
* Don't do these widenings if `bound` is a subtype of `scala.Singleton`.
393
393
* 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
395
395
* its source module instead.
396
396
*
397
397
* 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