From 24ccb77061d0b6d3b5fa0464e9afb3e48c67eea9 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 11 Feb 2016 09:19:09 +0100 Subject: 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`. --- tests/run/t920.scala | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/run/t920.scala (limited to 'tests/run/t920.scala') 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; - } -} -- cgit v1.2.3