diff options
author | Martin Odersky <odersky@gmail.com> | 2004-04-16 14:44:57 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2004-04-16 14:44:57 +0000 |
commit | d57f01bdefdaa7647640424db59b4593ba73d7bf (patch) | |
tree | 6f129469830afc2687ab5f85d64a1758021ac453 /test/files/pos | |
parent | 0de069d6405411d1036b4a784d9896fe8073a1c4 (diff) | |
download | scala-d57f01bdefdaa7647640424db59b4593ba73d7bf.tar.gz scala-d57f01bdefdaa7647640424db59b4593ba73d7bf.tar.bz2 scala-d57f01bdefdaa7647640424db59b4593ba73d7bf.zip |
*** empty log message ***
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/vincent.scala | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/files/pos/vincent.scala b/test/files/pos/vincent.scala deleted file mode 100644 index eed25eb84c..0000000000 --- a/test/files/pos/vincent.scala +++ /dev/null @@ -1,21 +0,0 @@ -object test { - - trait A { type T; } - - trait B { type T; } - - /** def functor(x: A): B { type T = x.T } */ - abstract class functor() { - val arg: A; - val res: B { type T = arg.T } = - new B { type T = arg.T; }; - } - - val a = new A { type T = String }; - /** val b: B { type T = String } = functor(a) */ - val b: B { type T = String } = { - val tmp = new functor() { val arg = a }; - tmp.res - } - -} |