diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2015-07-13 17:21:16 +0200 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2015-07-13 17:51:01 +0200 |
commit | 50f45714051bb980b2169f1fbb74d987a34390e0 (patch) | |
tree | 482563a212d7463b9dcbfe4857566af2ebb3938e /tests/run/case-class-toString.check | |
parent | b82313268b912c62f9ddc89fefd02be96f2de64c (diff) | |
download | dotty-50f45714051bb980b2169f1fbb74d987a34390e0.tar.gz dotty-50f45714051bb980b2169f1fbb74d987a34390e0.tar.bz2 dotty-50f45714051bb980b2169f1fbb74d987a34390e0.zip |
SyntheticMethods: override productPrefix for case classes
The productPrefix of a case class should be the name of the class itself
to match Scala 2.
Diffstat (limited to 'tests/run/case-class-toString.check')
-rw-r--r-- | tests/run/case-class-toString.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run/case-class-toString.check b/tests/run/case-class-toString.check new file mode 100644 index 000000000..fe7d8a803 --- /dev/null +++ b/tests/run/case-class-toString.check @@ -0,0 +1,4 @@ +Zero2() +One(1) +Two(1,2) +Encoded!Name(3) |