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 fa919f5 commit fc55b9aCopy full SHA for fc55b9a
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -2404,6 +2404,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
2404
* 1. Single inheritance of classes
2405
* 2. Final classes cannot be extended
2406
* 3. ConstantTypes with distinct values are non intersecting
2407
+ * 3. TermRefs with distinct values are non intersecting
2408
* 4. There is no value of type Nothing
2409
*
2410
* Note on soundness: the correctness of match types relies on on the
0 commit comments