Skip to content

Commit f8aa4b3

Browse files
committed
Fix documentation of liftIfHK
1 parent 2474c1b commit f8aa4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/TypeComparer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ class TypeComparer(initctx: Context) extends DotClass with ConstraintHandling {
10861086
*
10871087
* C[type T], D[type U]
10881088
*
1089-
* Then do you expand `C & D` to `[T, U] -> C[T, U] & D[T, U]` or not? Under the named
1089+
* Then do you expand `C & D` to `[T] -> C[T] & D[T]` or not? Under the named
10901090
* type parameter interpretation, this would be wrong whereas under the traditional
10911091
* higher-kinded interpretation this would be required. The problem arises from
10921092
* allowing both interpretations. A possible remedy is to be somehow stricter

0 commit comments

Comments
 (0)