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 3207c41 commit 9dc889dCopy full SHA for 9dc889d
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -2620,7 +2620,7 @@ class TrackingTypeComparer(initctx: Context) extends TypeComparer(initctx) {
2620
// `6570-1.scala` for examples that exploit emptiness to break match
2621
// type soundness.
2622
2623
- // If we revered the uncertainty case of this empty check, that is,
+ // If we reversed the uncertainty case of this empty check, that is,
2624
// `!provablyNonEmpty` instead of `provablyEmpty`, that would be
2625
// obviously sound, but quite restrictive. With the current formulation,
2626
// we need to be careful that `provablyEmpty` covers all the conditions
0 commit comments