From 70996f8583ba28de3dfe97bb3e7075cb56a4ea2f Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 24 Oct 2011 14:11:20 +0000 Subject: Added a -Yno-productN option. Suppresses ProductN parent for case classes. No review. --- test/files/pos/noproductN.flags | 1 + test/files/pos/noproductN.scala | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 test/files/pos/noproductN.flags create mode 100644 test/files/pos/noproductN.scala (limited to 'test/files') diff --git a/test/files/pos/noproductN.flags b/test/files/pos/noproductN.flags new file mode 100644 index 0000000000..14b05e7354 --- /dev/null +++ b/test/files/pos/noproductN.flags @@ -0,0 +1 @@ +-Yno-productN \ No newline at end of file diff --git a/test/files/pos/noproductN.scala b/test/files/pos/noproductN.scala new file mode 100644 index 0000000000..856d960b7d --- /dev/null +++ b/test/files/pos/noproductN.scala @@ -0,0 +1,2 @@ +object Foo { type S = String } +case class Foo(x: Foo.S) { } -- cgit v1.2.3