diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-01-29 11:23:52 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-01-29 11:23:52 +0000 |
commit | 449c680774473deb5d004095a419e4a3bfce3637 (patch) | |
tree | 282d47c1e1cf9f122646ddd9d086d2aa0868065d /test/files/buildmanager/t2650_1 | |
parent | 7d08bfed7896ece313f6a0ad286a0a622f0a4b52 (diff) | |
download | scala-449c680774473deb5d004095a419e4a3bfce3637.tar.gz scala-449c680774473deb5d004095a419e4a3bfce3637.tar.bz2 scala-449c680774473deb5d004095a419e4a3bfce3637.zip |
Closes #2650.
Diffstat (limited to 'test/files/buildmanager/t2650_1')
-rw-r--r-- | test/files/buildmanager/t2650_1/A.scala | 4 | ||||
-rw-r--r-- | test/files/buildmanager/t2650_1/B.scala | 3 | ||||
-rw-r--r-- | test/files/buildmanager/t2650_1/t2650_1.changes/A2.scala | 3 | ||||
-rw-r--r-- | test/files/buildmanager/t2650_1/t2650_1.check | 11 | ||||
-rw-r--r-- | test/files/buildmanager/t2650_1/t2650_1.test | 3 |
5 files changed, 24 insertions, 0 deletions
diff --git a/test/files/buildmanager/t2650_1/A.scala b/test/files/buildmanager/t2650_1/A.scala new file mode 100644 index 0000000000..74714a3c47 --- /dev/null +++ b/test/files/buildmanager/t2650_1/A.scala @@ -0,0 +1,4 @@ +trait A { + type S[_] +} + diff --git a/test/files/buildmanager/t2650_1/B.scala b/test/files/buildmanager/t2650_1/B.scala new file mode 100644 index 0000000000..80f0e30259 --- /dev/null +++ b/test/files/buildmanager/t2650_1/B.scala @@ -0,0 +1,3 @@ +trait B extends A { + type F = S[Int] +} diff --git a/test/files/buildmanager/t2650_1/t2650_1.changes/A2.scala b/test/files/buildmanager/t2650_1/t2650_1.changes/A2.scala new file mode 100644 index 0000000000..2b8ead4ff1 --- /dev/null +++ b/test/files/buildmanager/t2650_1/t2650_1.changes/A2.scala @@ -0,0 +1,3 @@ +trait A { + type S +} diff --git a/test/files/buildmanager/t2650_1/t2650_1.check b/test/files/buildmanager/t2650_1/t2650_1.check new file mode 100644 index 0000000000..ecddb33620 --- /dev/null +++ b/test/files/buildmanager/t2650_1/t2650_1.check @@ -0,0 +1,11 @@ +builder > A.scala B.scala +compiling Set(A.scala, B.scala) +Changes: Map() +builder > A.scala +compiling Set(A.scala) +Changes: Map(trait A -> List(Changed(Definition(A.S))[type S changed from A.this.S[_] to A.this.S flags: <deferred>])) +invalidate B.scala because inherited method changed [Changed(Definition(A.S))[type S changed from A.this.S[_] to A.this.S flags: <deferred>]] +compiling Set(B.scala) +B.scala:2: error: B.this.S does not take type parameters + type F = S[Int] + ^ diff --git a/test/files/buildmanager/t2650_1/t2650_1.test b/test/files/buildmanager/t2650_1/t2650_1.test new file mode 100644 index 0000000000..6f3bd03361 --- /dev/null +++ b/test/files/buildmanager/t2650_1/t2650_1.test @@ -0,0 +1,3 @@ +>>compile A.scala B.scala +>>update A.scala=>A2.scala +>>compile A.scala |