diff options
author | Martin Odersky <odersky@gmail.com> | 2006-10-30 17:29:19 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-10-30 17:29:19 +0000 |
commit | 7ebc41cda22ee26d4242e305782a14f7e6bf63aa (patch) | |
tree | 2ead03fe1fae2466677cdcddcbb5ac2e7c4778ed /test/files/pos | |
parent | 640ecf38b7125ff0d2c926a9a634593640cd95b1 (diff) | |
download | scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.tar.gz scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.tar.bz2 scala-7ebc41cda22ee26d4242e305782a14f7e6bf63aa.zip |
fixed bugs 54, 415
Improved avoidance of MalformedType's
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/bug415.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/pos/bug415.scala b/test/files/pos/bug415.scala new file mode 100644 index 0000000000..355b6136d1 --- /dev/null +++ b/test/files/pos/bug415.scala @@ -0,0 +1,9 @@ +abstract class A { + type T <: String; + def x: T; +} + +abstract class B { + def a: A; + val y: String = a.x; +} |