diff options
author | Martin Odersky <odersky@gmail.com> | 2003-07-08 13:19:33 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-07-08 13:19:33 +0000 |
commit | fedbced652b533da4baeea37c39c058d2cd2afd8 (patch) | |
tree | 6abfe4284db8f92c12fba14d671de6f7b827068e /test/files/pos/bug39.scala | |
parent | 639f1084419fb54acf6ee9f6c405e302ba21abd3 (diff) | |
download | scala-fedbced652b533da4baeea37c39c058d2cd2afd8.tar.gz scala-fedbced652b533da4baeea37c39c058d2cd2afd8.tar.bz2 scala-fedbced652b533da4baeea37c39c058d2cd2afd8.zip |
*** empty log message ***
Diffstat (limited to 'test/files/pos/bug39.scala')
-rw-r--r-- | test/files/pos/bug39.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug39.scala b/test/files/pos/bug39.scala new file mode 100644 index 0000000000..a131bc0450 --- /dev/null +++ b/test/files/pos/bug39.scala @@ -0,0 +1,6 @@ +abstract class Extensible[A, This <: Extensible[A, This]](x: A, xs: This): This { + def mkObj(x: A, xs: This): This; +} +class Fixed[A](x: A, xs: Fixed[A]) extends Extensible[A, Fixed[A]](x, xs) { + def mkObj(x: A, xs: Fixed[A]) = new Fixed(x, xs); +} |