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 8c94870 commit 6f24431Copy full SHA for 6f24431
tests/pos-special/isInstanceOf/i9736.scala
@@ -0,0 +1,7 @@
1
+class Test {
2
+ type MyCombo = Int | Unit
3
+ val z: MyCombo = 10
4
+ z match
5
+ case i: Int => ???
6
+ case _ => ???
7
+}
0 commit comments