From 5bf9d2b0046b60ae9fcdc218cd190e17023b4fae Mon Sep 17 00:00:00 2001 From: Olivier Blanvillain Date: Thu, 6 Apr 2017 18:44:21 +0200 Subject: Add tests - t7296 & case-class-23 are moved out of pending - 1938 tests productElement > 23 --- tests/pos/t7296.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/pos/t7296.scala (limited to 'tests/pos') diff --git a/tests/pos/t7296.scala b/tests/pos/t7296.scala new file mode 100644 index 000000000..fcba17c08 --- /dev/null +++ b/tests/pos/t7296.scala @@ -0,0 +1,7 @@ +// Fails Ycheck +object Test { + type A = Int + // Emits the implementation restriction but then proceeds to crash + // when creating the Foo.unapply. + case class Foo(a: A, b: A, c: A, d: A, e: A, f: A, g: A, h: A, i: A, j: A, k: A, l: A, m: A, n: A, o: A, p: A, q: A, r: A, s: A, t: A, u: A, v: A, w: A, x: A, y: A, Z: A) +} -- cgit v1.2.3