aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t0599.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-11-14 16:11:31 +0100
committerMartin Odersky <odersky@gmail.com>2014-11-14 16:11:31 +0100
commit4d5a901d10a28c286f8754134f5030daae0d239b (patch)
tree41936bfc93fb242db330aeac3627038e9c1ef142 /tests/pos/t0599.scala
parent9dae49b8994f72f2b4b83665c53a63b49896c5de (diff)
downloaddotty-4d5a901d10a28c286f8754134f5030daae0d239b.tar.gz
dotty-4d5a901d10a28c286f8754134f5030daae0d239b.tar.bz2
dotty-4d5a901d10a28c286f8754134f5030daae0d239b.zip
Fix OverridingPairs
OverridingPairs had several bugs which caused pairs to be lost, which caused missing overrides checks. Fixing OverridingPairs revealed several test failures (and a problem in Synthetics generation which was fixed in the last commit). Tests that became negative are all moved into neg/overrides.scala, and the original versions in pos were fixed.
Diffstat (limited to 'tests/pos/t0599.scala')
-rw-r--r--tests/pos/t0599.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pos/t0599.scala b/tests/pos/t0599.scala
index 885159af6..6445fa9fb 100644
--- a/tests/pos/t0599.scala
+++ b/tests/pos/t0599.scala
@@ -7,8 +7,8 @@ abstract class FooA {
}
}
trait FooB extends FooA {
- type A <: Ax;
- trait Ax extends super.Ax { def xxx : Int; }
+ type A <: Axx;
+ trait Axx extends super.Ax { def xxx : Int; }
abstract class InnerB extends InnerA {
// type B <: A;
val a : A = doB;