diff options
-rw-r--r-- | tests/pos/t0273.scala | 2 | ||||
-rw-r--r-- | tests/pos/t1279a.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/pos/t0273.scala b/tests/pos/t0273.scala index 0fba8a8a4..10f426828 100644 --- a/tests/pos/t0273.scala +++ b/tests/pos/t0273.scala @@ -2,6 +2,6 @@ class A object Test { def a = () => () -def a[T] = (p:A) => () // error +def a[T] = (p:A) => () def main(args: Array[String]) = () } diff --git a/tests/pos/t1279a.scala b/tests/pos/t1279a.scala index 78633ec3c..3edd9b2c4 100644 --- a/tests/pos/t1279a.scala +++ b/tests/pos/t1279a.scala @@ -4,7 +4,7 @@ abstract class M { type T final type selfType = M {type T <: self.T} - type actualSelfType >: self.type <: selfType // error: this no longer compiles because self.type is not a subtype of selfType + type actualSelfType >: self.type <: selfType def next: selfType |