diff options
author | Martin Odersky <odersky@gmail.com> | 2003-09-15 20:10:24 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-09-15 20:10:24 +0000 |
commit | 1b77651f90d9b4132e419409295f0d3c6153cf41 (patch) | |
tree | 6cee2b5116466066134cdbeacf809ba878546764 /test/files/pos/rebind.scala | |
parent | 01d4668fc81fbbb245d145086ceea0755848a383 (diff) | |
download | scala-1b77651f90d9b4132e419409295f0d3c6153cf41.tar.gz scala-1b77651f90d9b4132e419409295f0d3c6153cf41.tar.bz2 scala-1b77651f90d9b4132e419409295f0d3c6153cf41.zip |
*** empty log message ***
Diffstat (limited to 'test/files/pos/rebind.scala')
-rw-r--r-- | test/files/pos/rebind.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/rebind.scala b/test/files/pos/rebind.scala new file mode 100644 index 0000000000..59afe82ffa --- /dev/null +++ b/test/files/pos/rebind.scala @@ -0,0 +1,13 @@ +abstract class Foo { + class Inner { + def inner: int = 1; + } + def foo: Inner; +} +abstract class Bar { + type Inner; + def foo: Inner = foo; +} +class Test extends Foo with Bar { + System.out.println(foo.inner); +} |