aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/compound.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-01-28 18:55:51 +0100
committerMartin Odersky <odersky@gmail.com>2015-01-28 19:03:55 +0100
commit37918e5d1eb53014b1116ea65381a56e93a3c855 (patch)
tree1e11b5a22e104589434e370d3cb22c937b63f2a4 /tests/pending/pos/compound.scala
parent350b121a42cc9eb37f09254f5eb992d85fe38368 (diff)
downloaddotty-37918e5d1eb53014b1116ea65381a56e93a3c855.tar.gz
dotty-37918e5d1eb53014b1116ea65381a56e93a3c855.tar.bz2
dotty-37918e5d1eb53014b1116ea65381a56e93a3c855.zip
Cleanups prompted by reviews.
Diffstat (limited to 'tests/pending/pos/compound.scala')
-rw-r--r--tests/pending/pos/compound.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/pending/pos/compound.scala b/tests/pending/pos/compound.scala
index 308ffdfd9..16dbf9a08 100644
--- a/tests/pending/pos/compound.scala
+++ b/tests/pending/pos/compound.scala
@@ -1,3 +1,5 @@
+// There's still a problem with var's here, presumably because they are not paths.
+// Needs some more investigation.
abstract class A { type T }
abstract class B { val xz: Any }
@@ -7,7 +9,8 @@ abstract class Test {
var xx: A with B { type T; val xz: T } = null;
xx = yy;
}
+
abstract class Test2 {
- var yy: A with B { type T; val xz: T } = null;
+ val yy: A with B { type T; val xz: T } = null;
val xx: A with B { type T; val xz: T } = yy
}