diff options
Diffstat (limited to 'test/files/pos/bug404.scala')
-rw-r--r-- | test/files/pos/bug404.scala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/files/pos/bug404.scala b/test/files/pos/bug404.scala index 1b1ce40135..8f5e8bef5e 100644 --- a/test/files/pos/bug404.scala +++ b/test/files/pos/bug404.scala @@ -1,12 +1,12 @@ trait AbsIterator { - type T; - def next: T; + type T + def next: T } class StringIterator extends AbsIterator { - type T = char; - def next = 'a'; + type T = Char + def next = 'a' } trait SyncIterator extends AbsIterator { - abstract override def next: T = super.next; + abstract override def next: T = super.next } -class I extends StringIterator with SyncIterator; +class I extends StringIterator with SyncIterator |