diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-02 16:38:41 +1100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-02-08 22:20:26 +1100 |
commit | ff0921c2e588eeb6590efea057862c14f2154e99 (patch) | |
tree | 8512719ac7e63624c8e88e1952f12e3f7ba65efb /tests/neg | |
parent | 0f396544ced68ca2548b204527e2325c3fc65135 (diff) | |
download | dotty-ff0921c2e588eeb6590efea057862c14f2154e99.tar.gz dotty-ff0921c2e588eeb6590efea057862c14f2154e99.tar.bz2 dotty-ff0921c2e588eeb6590efea057862c14f2154e99.zip |
Update test case
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/i1653.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/i1653.scala b/tests/neg/i1653.scala index ab5369e5f..f21fc7d54 100644 --- a/tests/neg/i1653.scala +++ b/tests/neg/i1653.scala @@ -1,3 +1,3 @@ trait Foo { - def foo() = new Unit with Foo // error + def foo() = new Unit with Foo // error: cannot extend final class Unit // error: illegal trait inheritance } |