diff options
author | Paul Phillips <paulp@improving.org> | 2011-02-07 04:45:22 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-02-07 04:45:22 +0000 |
commit | fcc962b1973aedf1c892aac0d1fce7e5fa32fbc0 (patch) | |
tree | 8a8fb1e4366083b7c490b4b1f43a9bd3858d6191 /test/files/neg/bug4217.check | |
parent | 7b19ec8b1b296913adb5c226decd16f1e091c76b (diff) | |
download | scala-fcc962b1973aedf1c892aac0d1fce7e5fa32fbc0.tar.gz scala-fcc962b1973aedf1c892aac0d1fce7e5fa32fbc0.tar.bz2 scala-fcc962b1973aedf1c892aac0d1fce7e5fa32fbc0.zip |
Fix for parser regression allowing 0-case match...
Fix for parser regression allowing 0-case match blocks. Closes #4217, no
review.
Diffstat (limited to 'test/files/neg/bug4217.check')
-rw-r--r-- | test/files/neg/bug4217.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug4217.check b/test/files/neg/bug4217.check new file mode 100644 index 0000000000..4de9201da8 --- /dev/null +++ b/test/files/neg/bug4217.check @@ -0,0 +1,4 @@ +bug4217.scala:2: error: 'case' expected but '}' found. + 42 match { } + ^ +one error found |