From 09f490bd56a44dd9084f2ea843ac954a586e6d32 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 4 Jun 2010 02:39:10 +0000 Subject: 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. --- test/pending/neg/bug3189.check | 7 +++++++ test/pending/neg/bug3189.scala | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 test/pending/neg/bug3189.check create mode 100644 test/pending/neg/bug3189.scala (limited to 'test/pending/neg') diff --git a/test/pending/neg/bug3189.check b/test/pending/neg/bug3189.check new file mode 100644 index 0000000000..520644fd43 --- /dev/null +++ b/test/pending/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 diff --git a/test/pending/neg/bug3189.scala b/test/pending/neg/bug3189.scala new file mode 100644 index 0000000000..4ea4bb7581 --- /dev/null +++ b/test/pending/neg/bug3189.scala @@ -0,0 +1,3 @@ +object A { + val Array(a,b*) = ("": Any) +} \ No newline at end of file -- cgit v1.2.3