Skip to content

Commit fc55b9a

Browse files
committed
update comment
1 parent fa919f5 commit fc55b9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2404,6 +2404,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
24042404
* 1. Single inheritance of classes
24052405
* 2. Final classes cannot be extended
24062406
* 3. ConstantTypes with distinct values are non intersecting
2407+
* 3. TermRefs with distinct values are non intersecting
24072408
* 4. There is no value of type Nothing
24082409
*
24092410
* Note on soundness: the correctness of match types relies on on the

0 commit comments

Comments
 (0)