Skip to content

Commit 9dc889d

Browse files
Fix typo
1 parent 3207c41 commit 9dc889d

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
@@ -2620,7 +2620,7 @@ class TrackingTypeComparer(initctx: Context) extends TypeComparer(initctx) {
26202620
// `6570-1.scala` for examples that exploit emptiness to break match
26212621
// type soundness.
26222622

2623-
// If we revered the uncertainty case of this empty check, that is,
2623+
// If we reversed the uncertainty case of this empty check, that is,
26242624
// `!provablyNonEmpty` instead of `provablyEmpty`, that would be
26252625
// obviously sound, but quite restrictive. With the current formulation,
26262626
// we need to be careful that `provablyEmpty` covers all the conditions

0 commit comments

Comments
 (0)