diff options
author | David MacIver <david.maciver@gmail.com> | 2008-10-29 18:34:12 +0000 |
---|---|---|
committer | David MacIver <david.maciver@gmail.com> | 2008-10-29 18:34:12 +0000 |
commit | e6a1539441976df84e288e7485dee7bf452bb1a7 (patch) | |
tree | ed8e4416c3b6ac135994ae873f54e5bd1fe9312e /test/files | |
parent | 3128d1e0e540eb914b8ca0fe22b97a1bee56580a (diff) | |
download | scala-e6a1539441976df84e288e7485dee7bf452bb1a7.tar.gz scala-e6a1539441976df84e288e7485dee7bf452bb1a7.tar.bz2 scala-e6a1539441976df84e288e7485dee7bf452bb1a7.zip |
Another test case emerging from paul playing wi...
Another test case emerging from paul playing with the compiler's
constant propagation.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/needstypeearly.scala | 4 |
1 files changed, 4 insertions, 0 deletions
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 |