diff options
author | Martin Odersky <odersky@gmail.com> | 2016-01-31 16:37:10 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-09 09:43:06 +0100 |
commit | 5fd2028931874291b3cf1b7efef4fed7119d9316 (patch) | |
tree | f0c60babe5ff6bc259bb902511cb60e5faaa7544 /tests/pos-scala2 | |
parent | 9a6f82b2ecfd7462d0a1f4e0464878fd58231277 (diff) | |
download | dotty-5fd2028931874291b3cf1b7efef4fed7119d9316.tar.gz dotty-5fd2028931874291b3cf1b7efef4fed7119d9316.tar.bz2 dotty-5fd2028931874291b3cf1b7efef4fed7119d9316.zip |
Enforce rule that laziness is preserved when overriding.
Diffstat (limited to 'tests/pos-scala2')
-rw-r--r-- | tests/pos-scala2/pos-special/i871.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos-scala2/pos-special/i871.scala b/tests/pos-scala2/pos-special/i871.scala new file mode 100644 index 000000000..2e5f100d8 --- /dev/null +++ b/tests/pos-scala2/pos-special/i871.scala @@ -0,0 +1,4 @@ +trait Message { + def first(x: Int) + def second +} |