summaryrefslogtreecommitdiff
path: root/test/files/pos/bug404.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2008-05-20 10:17:41 +0000
committermichelou <michelou@epfl.ch>2008-05-20 10:17:41 +0000
commit44fd5e7272f7fbcc901d1ecaf563351217a50e7d (patch)
treec9b0ccf1aaceda7e7a066e414c8df16fad173b6e /test/files/pos/bug404.scala
parent5f450da638cd4518ee4993bcee03db43387e5ad6 (diff)
downloadscala-44fd5e7272f7fbcc901d1ecaf563351217a50e7d.tar.gz
scala-44fd5e7272f7fbcc901d1ecaf563351217a50e7d.tar.bz2
scala-44fd5e7272f7fbcc901d1ecaf563351217a50e7d.zip
int -> Int, etc..
Diffstat (limited to 'test/files/pos/bug404.scala')
-rw-r--r--test/files/pos/bug404.scala12
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