diff options
author | Paul Phillips <paulp@improving.org> | 2010-06-04 02:39:10 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-06-04 02:39:10 +0000 |
commit | 09f490bd56a44dd9084f2ea843ac954a586e6d32 (patch) | |
tree | c39191d15c5ea7580b7dce9def34ca5fbe35b0e7 /test/files | |
parent | bf17437453a72c1bad87cd4f5f6555b0beaee783 (diff) | |
download | scala-09f490bd56a44dd9084f2ea843ac954a586e6d32.tar.gz scala-09f490bd56a44dd9084f2ea843ac954a586e6d32.tar.bz2 scala-09f490bd56a44dd9084f2ea843ac954a586e6d32.zip |
Reverts r21973, the patch I characterized as "h...
Reverts r21973, the patch I characterized as "hacky but no-risk" in my
commit message, for causing #3480. Closes #3480. I'd say no review but
who can trust a guy who throws around "no risk" with such abandon.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/bug3189.check | 7 | ||||
-rw-r--r-- | test/files/neg/bug3189.scala | 3 | ||||
-rw-r--r-- | test/files/pos/bug3480.scala | 4 |
3 files changed, 4 insertions, 10 deletions
diff --git a/test/files/neg/bug3189.check b/test/files/neg/bug3189.check deleted file mode 100644 index 520644fd43..0000000000 --- a/test/files/neg/bug3189.check +++ /dev/null @@ -1,7 +0,0 @@ -bug3189.scala:2: error: illegal start of simple pattern - val Array(a,b*) = ("": Any) - ^ -bug3189.scala:3: error: ')' expected but '}' found. -} -^ -two errors found diff --git a/test/files/neg/bug3189.scala b/test/files/neg/bug3189.scala deleted file mode 100644 index 4ea4bb7581..0000000000 --- a/test/files/neg/bug3189.scala +++ /dev/null @@ -1,3 +0,0 @@ -object A { - val Array(a,b*) = ("": Any) -}
\ No newline at end of file diff --git a/test/files/pos/bug3480.scala b/test/files/pos/bug3480.scala new file mode 100644 index 0000000000..830365170b --- /dev/null +++ b/test/files/pos/bug3480.scala @@ -0,0 +1,4 @@ +object Test { + val List(_*) = List(1) + val Array( who, what @ _* ) = "Eclipse plugin cannot not handle this" split (" ") +} |