diff options
Diffstat (limited to 'test-nsc/files/pos/mixins.scala')
-rw-r--r-- | test-nsc/files/pos/mixins.scala | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test-nsc/files/pos/mixins.scala b/test-nsc/files/pos/mixins.scala deleted file mode 100644 index 2b403a25e8..0000000000 --- a/test-nsc/files/pos/mixins.scala +++ /dev/null @@ -1,22 +0,0 @@ -package mixins; -abstract class Super { - def foo: int; -} -trait Mixin extends Super { - abstract override def foo = super.foo; -} -trait MixinSub extends Super with Mixin { - abstract override def foo: int = super.foo; -} -trait MixinSubSub extends MixinSub { - abstract override def foo = super.foo; -} -class Sub extends Super { - def foo: int = 1 -} -class Base extends Sub with MixinSubSub { - override def foo = super.foo; -} -trait Mixin1 extends Sub with MixinSubSub {} -class Base1 extends Mixin1 {} - |