diff options
author | Paul Phillips <paulp@improving.org> | 2011-10-09 19:24:26 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-10-09 19:24:26 +0000 |
commit | 2c1a1192ce19f84984eb52037fba5b26794ed3fa (patch) | |
tree | 07fde350be49609db48fe4bb8db26c1f7b42b6e4 /test/files/neg/t5067.scala | |
parent | 2adf5a0613c332045b65687a1f1e8a3fe8dd0222 (diff) | |
download | scala-2c1a1192ce19f84984eb52037fba5b26794ed3fa.tar.gz scala-2c1a1192ce19f84984eb52037fba5b26794ed3fa.tar.bz2 scala-2c1a1192ce19f84984eb52037fba5b26794ed3fa.zip |
Fix for error printing regression.
One's devotion to aesthetics must not be allowed to trump one's
commitment to clearly delineated tuplehood. Closes SI-5067, no review.
Diffstat (limited to 'test/files/neg/t5067.scala')
-rw-r--r-- | test/files/neg/t5067.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t5067.scala b/test/files/neg/t5067.scala new file mode 100644 index 0000000000..f8235c0e83 --- /dev/null +++ b/test/files/neg/t5067.scala @@ -0,0 +1,4 @@ +class Foo extends Function2[Int, Int, Int] { + def apply(x: Int, y: Int) = x + y + override def tupled: (Int, Int) => Int = super.tupled +} |