diff options
author | Szabolcs Berecz <szabolcs.berecz@gmail.com> | 2012-02-21 22:57:49 +0100 |
---|---|---|
committer | Szabolcs Berecz <szabolcs.berecz@gmail.com> | 2012-02-21 22:57:49 +0100 |
commit | a1d8029b3de82834db62fa7fca898ee5e5a455c6 (patch) | |
tree | ac553b1533ce8a13c55ee6bcba1a69099d8b5aac /test/files | |
parent | fbb7865e137e83660257fdc79d19d29ff39c775b (diff) | |
download | scala-a1d8029b3de82834db62fa7fca898ee5e5a455c6.tar.gz scala-a1d8029b3de82834db62fa7fca898ee5e5a455c6.tar.bz2 scala-a1d8029b3de82834db62fa7fca898ee5e5a455c6.zip |
Test for SI-5171
Running the test produces the following error in 2.9.1:
java.lang.VerifyError: class com.restphone.IsList$ overrides final method canEqual.
Works fine in 2.10.0-M2
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/si5171.check | 1 | ||||
-rw-r--r-- | test/files/run/si5171.scala | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/si5171.check b/test/files/run/si5171.check new file mode 100644 index 0000000000..159606d35c --- /dev/null +++ b/test/files/run/si5171.check @@ -0,0 +1 @@ +IsList diff --git a/test/files/run/si5171.scala b/test/files/run/si5171.scala new file mode 100644 index 0000000000..eb8029df80 --- /dev/null +++ b/test/files/run/si5171.scala @@ -0,0 +1,7 @@ +abstract sealed class ArgNumber +case object IsList extends ArgNumber +case object ArgNumber + +object Test extends App { + println(IsList) +} |