diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-05-12 13:07:21 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-05-12 13:07:21 +0200 |
commit | 6e2d3f01b50f1646063219c4f7ebd136104dd4c5 (patch) | |
tree | 7648e04e564f83cb6f90a06e66c4f9ca47d98975 /test/files | |
parent | 3511e5960d510eafcb67c388ec0b5b60aafdd8f3 (diff) | |
download | scala-6e2d3f01b50f1646063219c4f7ebd136104dd4c5.tar.gz scala-6e2d3f01b50f1646063219c4f7ebd136104dd4c5.tar.bz2 scala-6e2d3f01b50f1646063219c4f7ebd136104dd4c5.zip |
Another bug bites virtpatmat's dust.
Test case closes SI-5029.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t5029.flags | 1 | ||||
-rw-r--r-- | test/files/pos/t5029.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t5029.flags b/test/files/pos/t5029.flags new file mode 100644 index 0000000000..e8fb65d50c --- /dev/null +++ b/test/files/pos/t5029.flags @@ -0,0 +1 @@ +-Xfatal-warnings
\ No newline at end of file diff --git a/test/files/pos/t5029.scala b/test/files/pos/t5029.scala new file mode 100644 index 0000000000..6f9a329b80 --- /dev/null +++ b/test/files/pos/t5029.scala @@ -0,0 +1,3 @@ +object Test { + (Vector(): Seq[_]) match { case List() => true; case Nil => false } +}
\ No newline at end of file |