Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d093f61

Browse files
committedFeb 2, 2017
Update test case
1 parent 5cf340d commit d093f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/neg/i1653.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
trait Foo {
2-
def foo() = new Unit with Foo // error
2+
def foo() = new Unit with Foo // error: cannot extend final class Unit // error: illegal trait inheritance
33
}

0 commit comments

Comments
 (0)
Please sign in to comment.