diff options
author | Paul Phillips <paulp@improving.org> | 2009-10-07 03:00:43 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-10-07 03:00:43 +0000 |
commit | a6f19f5d97b0a4708d769dd3baa9aeb346d3a918 (patch) | |
tree | 876a466d21eeae794988e7bbf93ea25d379b568f /test/files | |
parent | 4a6c3da399756720b124eaa209ed34e36c394600 (diff) | |
download | scala-a6f19f5d97b0a4708d769dd3baa9aeb346d3a918.tar.gz scala-a6f19f5d97b0a4708d769dd3baa9aeb346d3a918.tar.bz2 scala-a6f19f5d97b0a4708d769dd3baa9aeb346d3a918.zip |
"Fix" and test case for #1333.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/bug1333.check | 4 | ||||
-rw-r--r-- | test/files/neg/bug1333.scala | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/bug1333.check b/test/files/neg/bug1333.check new file mode 100644 index 0000000000..11ba633194 --- /dev/null +++ b/test/files/neg/bug1333.check @@ -0,0 +1,4 @@ +bug1333.scala:1: error: case classes limited by implementation: maximum of 2 constructor parameter lists. +case class A(a: Int)(b: Int)(c: Int) + ^ +one error found diff --git a/test/files/neg/bug1333.scala b/test/files/neg/bug1333.scala new file mode 100644 index 0000000000..e16b38cefc --- /dev/null +++ b/test/files/neg/bug1333.scala @@ -0,0 +1 @@ +case class A(a: Int)(b: Int)(c: Int) |