summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-03-12 09:52:16 +0000
committerMartin Odersky <odersky@gmail.com>2003-03-12 09:52:16 +0000
commit0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c (patch)
tree3e97518ea344b50802339ab2002ca20583f0cb00 /test/files
parent86beea21be94408044884415bbafcad5e0574c66 (diff)
downloadscala-0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c.tar.gz
scala-0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c.tar.bz2
scala-0f07bf588cd02d7b0ac4776d78d9c3fc7428e96c.zip
*** empty log message ***
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/S1.scala2
-rw-r--r--test/files/pos/cls1.scala4
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