aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t920.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-02-11 09:19:09 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-11 09:19:09 +0100
commit24ccb77061d0b6d3b5fa0464e9afb3e48c67eea9 (patch)
tree5b8eb872ad8497c81d60ac0aff3dc1c6285d8fa7 /tests/run/t920.scala
parentdf7d8914aa139e8961db6ce0651e09b118d8bab2 (diff)
downloaddotty-24ccb77061d0b6d3b5fa0464e9afb3e48c67eea9.tar.gz
dotty-24ccb77061d0b6d3b5fa0464e9afb3e48c67eea9.tar.bz2
dotty-24ccb77061d0b6d3b5fa0464e9afb3e48c67eea9.zip
Move test to pending
The underlying problem on MacOS/Windows remains: We have a class `B` and an object `b` in the same scope. We used to get a conflict on `B$/b$` because we created an empty companion object for `B`. Now we get a conflict for `B/b`, because the `b` object creates to classes: `b.class` an `b$.class` and `b.class` clashes with `B.class`.
Diffstat (limited to 'tests/run/t920.scala')
-rw-r--r--tests/run/t920.scala20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/run/t920.scala b/tests/run/t920.scala
deleted file mode 100644
index 6a7f122d5..000000000
--- a/tests/run/t920.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-object Test {
- trait A;
- trait Foo0 { def foo : A; }
- trait Baz extends Foo0;
- trait B extends A {
- def initialize = {
- trait Foo extends Test.Foo0 {
- def foo : B.this.type = B.this;
- }
- class baz extends Baz with Foo {
- override def toString = "baz"
- }
- Console.println(new baz);
- }
- }
- object b extends B;
- def main(args : Array[String]) : Unit = {
- b.initialize;
- }
-}