diff options
author | Martin Odersky <odersky@gmail.com> | 2007-07-23 18:22:29 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-07-23 18:22:29 +0000 |
commit | 16d3cf1f8f22c04559145b35bb5f6c0aacfb0d8c (patch) | |
tree | 75b5420467e9dae2ef88d6a4aca220b0f907fa2f /test/files/neg/bug835.check | |
parent | 2d3a640e0bff8c79f99c070cf33f9ef921642a18 (diff) | |
download | scala-16d3cf1f8f22c04559145b35bb5f6c0aacfb0d8c.tar.gz scala-16d3cf1f8f22c04559145b35bb5f6c0aacfb0d8c.tar.bz2 scala-16d3cf1f8f22c04559145b35bb5f6c0aacfb0d8c.zip |
many bug fixes; short syntax for structural types.
Diffstat (limited to 'test/files/neg/bug835.check')
-rw-r--r-- | test/files/neg/bug835.check | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/files/neg/bug835.check b/test/files/neg/bug835.check index 83db589280..79ea97b71f 100644 --- a/test/files/neg/bug835.check +++ b/test/files/neg/bug835.check @@ -1,4 +1,9 @@ -bug835.scala:2: error: _*-argument may not appear after other arguments matching a *-parameter +bug835.scala:2: error: no `: _*' annotation allowed here +(such annotations are only allowed in arguments to *-parameters) + Console.println(List(List(1, 2, 3) : _*, List(4, 5, 6) : _*)) + ^ +bug835.scala:2: error: no `: _*' annotation allowed here +(such annotations are only allowed in arguments to *-parameters) Console.println(List(List(1, 2, 3) : _*, List(4, 5, 6) : _*)) ^ -one error found +two errors found |