diff options
author | Paul Phillips <paulp@improving.org> | 2010-05-19 04:08:02 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-05-19 04:08:02 +0000 |
commit | 4d11985231229984fd207dcd633d070ff24c97fb (patch) | |
tree | d06625b2a121595281d5b7818ea2f7bb5976a3cf /test/files/neg/bug3189.check | |
parent | ebfcab7b96e95939e3f258f27e936844e343326a (diff) | |
download | scala-4d11985231229984fd207dcd633d070ff24c97fb.tar.gz scala-4d11985231229984fd207dcd633d070ff24c97fb.tar.bz2 scala-4d11985231229984fd207dcd633d070ff24c97fb.zip |
Hacky but no-risk fix for #3189, which was caus...
Hacky but no-risk fix for #3189, which was caused by the ghost of
regular expression patterns rising from the grave to haunt the parser.
No review.
Diffstat (limited to 'test/files/neg/bug3189.check')
-rw-r--r-- | test/files/neg/bug3189.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/bug3189.check b/test/files/neg/bug3189.check new file mode 100644 index 0000000000..520644fd43 --- /dev/null +++ b/test/files/neg/bug3189.check @@ -0,0 +1,7 @@ +bug3189.scala:2: error: illegal start of simple pattern + val Array(a,b*) = ("": Any) + ^ +bug3189.scala:3: error: ')' expected but '}' found. +} +^ +two errors found |