diff options
author | Martin Odersky <odersky@gmail.com> | 2015-11-01 12:26:02 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-11-01 12:26:02 +0100 |
commit | 3badc4d8219385ad0f3bcc77790681a7e7c6d088 (patch) | |
tree | 232d86e4a522e9f2b8473ba7b347e5a4eebcf177 /tests/pos-special/i871.flags | |
parent | 08e880231ff5facd55a80bed0391b22fe85a9f44 (diff) | |
download | dotty-3badc4d8219385ad0f3bcc77790681a7e7c6d088.tar.gz dotty-3badc4d8219385ad0f3bcc77790681a7e7c6d088.tar.bz2 dotty-3badc4d8219385ad0f3bcc77790681a7e7c6d088.zip |
Deal gracefully with missing return types of abstract menthods.
1) Better error message: "missing return type" instead of `=' expected.
2) Allow them under language:Scala2
Fixes #871
Diffstat (limited to 'tests/pos-special/i871.flags')
-rw-r--r-- | tests/pos-special/i871.flags | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pos-special/i871.flags b/tests/pos-special/i871.flags new file mode 100644 index 000000000..a5c112f5a --- /dev/null +++ b/tests/pos-special/i871.flags @@ -0,0 +1 @@ +-language:Scala2
\ No newline at end of file |