diff options
Diffstat (limited to 'test/files')
-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 |