diff options
author | Martin Odersky <odersky@gmail.com> | 2003-03-12 09:52:16 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-03-12 09:52:16 +0000 |
commit | 0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c (patch) | |
tree | 3e97518ea344b50802339ab2002ca20583f0cb00 /test/files/pos | |
parent | 86beea21be94408044884415bbafcad5e0574c66 (diff) | |
download | scala-0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c.tar.gz scala-0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c.tar.bz2 scala-0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c.zip |
*** empty log message ***
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/S1.scala | 2 | ||||
-rw-r--r-- | test/files/pos/cls1.scala | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/test/files/pos/S1.scala b/test/files/pos/S1.scala index eba81109b3..68706e3dd3 100644 --- a/test/files/pos/S1.scala +++ b/test/files/pos/S1.scala @@ -9,5 +9,5 @@ */ class S1() { def foo[T <: this.type](x: T) = x; - foo(this); + foo[this.type](this); } diff --git a/test/files/pos/cls1.scala b/test/files/pos/cls1.scala index badc4e793a..fd64a57073 100644 --- a/test/files/pos/cls1.scala +++ b/test/files/pos/cls1.scala @@ -1,11 +1,9 @@ -package cls1; +package test; trait A { - type T; trait B extends A { type T = A.this.T; } - }
\ No newline at end of file |