From e6a1539441976df84e288e7485dee7bf452bb1a7 Mon Sep 17 00:00:00 2001 From: David MacIver Date: Wed, 29 Oct 2008 18:34:12 +0000 Subject: Another test case emerging from paul playing wi... Another test case emerging from paul playing with the compiler's constant propagation. --- test/files/pos/needstypeearly.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/files/pos/needstypeearly.scala (limited to 'test/files') diff --git a/test/files/pos/needstypeearly.scala b/test/files/pos/needstypeearly.scala new file mode 100644 index 0000000000..a90c2575f2 --- /dev/null +++ b/test/files/pos/needstypeearly.scala @@ -0,0 +1,4 @@ +abstract class NeedsXEarly { + val x: Int +} +class Foo extends { val x = 1 } with NeedsXEarly -- cgit v1.2.3