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 7377ee3Copy full SHA for 7377ee3
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -2404,7 +2404,8 @@ 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
- * 4. There is no value of type Nothing
+ * 4. TermRefs with distinct values are non intersecting
2408
+ * 5. There is no value of type Nothing
2409
*
2410
* Note on soundness: the correctness of match types relies on on the
2411
* property that in all possible contexts, the same match type expression
0 commit comments