From 50f45714051bb980b2169f1fbb74d987a34390e0 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Mon, 13 Jul 2015 17:21:16 +0200 Subject: SyntheticMethods: override productPrefix for case classes The productPrefix of a case class should be the name of the class itself to match Scala 2. --- tests/run/case-class-toString.check | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/run/case-class-toString.check (limited to 'tests/run/case-class-toString.check') 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) -- cgit v1.2.3