Skip to content

Commit 80c91ee

Browse files
committed
Add comment link to test
1 parent 8667689 commit 80c91ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ class TypeComparer(initctx: Context) extends ConstraintHandling[AbsentContext] w
19421942
// object O extends A, B { ... }
19431943
//
19441944
// Here, `F` is treated as bivariant in `O`. That is, only bivariant implementation
1945-
// of `F` are allowed.
1945+
// of `F` are allowed. See neg/hk-variance2s.scala test.
19461946
}
19471947
}
19481948

0 commit comments

Comments
 (0)