summaryrefslogtreecommitdiff
path: root/test/files/pos/rebind.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/rebind.scala
parent5f450da638cd4518ee4993bcee03db43387e5ad6 (diff)
downloadscala-44fd5e7272f7fbcc901d1ecaf563351217a50e7d.tar.gz
scala-44fd5e7272f7fbcc901d1ecaf563351217a50e7d.tar.bz2
scala-44fd5e7272f7fbcc901d1ecaf563351217a50e7d.zip
int -> Int, etc..
Diffstat (limited to 'test/files/pos/rebind.scala')
-rw-r--r--test/files/pos/rebind.scala10
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)
}