diff options
Diffstat (limited to 'test/files/pos/rebind.scala')
-rw-r--r-- | test/files/pos/rebind.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/pos/rebind.scala b/test/files/pos/rebind.scala index 61ff0c223e..faedcc9bca 100644 --- a/test/files/pos/rebind.scala +++ b/test/files/pos/rebind.scala @@ -1,13 +1,13 @@ abstract class Foo { class Inner { - def inner: int = 1; + def inner: Int = 1 } - def foo: Inner; + def foo: Inner } trait Bar { - type Inner; - def foo: Inner = foo; + type Inner + def foo: Inner = foo } class Test extends Foo with Bar { - Console.println(foo.inner); + println(foo.inner) } |