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 5bafaac commit 771b866Copy full SHA for 771b866
compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
@@ -836,6 +836,7 @@ object SpaceEngine {
836
val tpw = tp.widen.dealias
837
val classSym = tpw.classSymbol
838
classSym.is(Sealed) && !tpw.isLargeGenericTuple || // exclude large generic tuples from exhaustivity
839
+ // requires an unknown number of changes to make work
840
tpw.isInstanceOf[OrType] ||
841
(tpw.isInstanceOf[AndType] && {
842
val and = tpw.asInstanceOf[AndType]
0 commit comments