diff options
author | Martin Odersky <odersky@gmail.com> | 2015-01-01 13:45:08 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-01-01 13:45:16 +0100 |
commit | e3a43806a2b5b17982e942a82cabe139c09d971e (patch) | |
tree | 2e4ab893c1a0a640d6933df4bc50dd785fb8a63d /tests/pending/pos/compound.scala | |
parent | e50f47c17eea3aee80db2d86e28e7ae016f94cbb (diff) | |
download | dotty-e3a43806a2b5b17982e942a82cabe139c09d971e.tar.gz dotty-e3a43806a2b5b17982e942a82cabe139c09d971e.tar.bz2 dotty-e3a43806a2b5b17982e942a82cabe139c09d971e.zip |
Reorg of subtyping.
Plus, RefinedThis gets a second parameter, `level`. This will replace the first one in due time.
Diffstat (limited to 'tests/pending/pos/compound.scala')
-rw-r--r-- | tests/pending/pos/compound.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pending/pos/compound.scala b/tests/pending/pos/compound.scala index 60890f910..308ffdfd9 100644 --- a/tests/pending/pos/compound.scala +++ b/tests/pending/pos/compound.scala @@ -7,3 +7,7 @@ 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 xx: A with B { type T; val xz: T } = yy +} |