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 e3eacae commit 6fc147eCopy full SHA for 6fc147e
tests/patmat/i13931.scala
@@ -1,7 +1,7 @@
1
class Test:
2
def test = Vector() match
3
case Seq() => println("empty")
4
- case _ => println("non-empty")
+ case null => println("non-empty")
5
6
def test2 = IndexedSeq() match { case IndexedSeq() => case null => }
7
def test3 = IndexedSeq() match { case IndexedSeq(1) => case _ => }
0 commit comments