We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8667689 commit 80c91eeCopy full SHA for 80c91ee
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -1942,7 +1942,7 @@ class TypeComparer(initctx: Context) extends ConstraintHandling[AbsentContext] w
1942
// object O extends A, B { ... }
1943
//
1944
// Here, `F` is treated as bivariant in `O`. That is, only bivariant implementation
1945
- // of `F` are allowed.
+ // of `F` are allowed. See neg/hk-variance2s.scala test.
1946
}
1947
1948
0 commit comments