Skip to content

Commit 203dfaa

Browse files
committed
Reinstantiate t920
Got deleted by accident. Version in run has object renamed to prevent case clashes on MacOS. Version that exhibits the clash is in pending/run.
1 parent bb60d3c commit 203dfaa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/run/t920.scala

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
object Test {
2+
trait A;
3+
trait Foo0 { def foo : A; }
4+
trait Baz extends Foo0;
5+
trait B extends A {
6+
def initialize = {
7+
trait Foo extends Test.Foo0 {
8+
def foo : B.this.type = B.this;
9+
}
10+
class baz extends Baz with Foo {
11+
override def toString = "baz"
12+
}
13+
Console.println(new baz);
14+
}
15+
}
16+
object bb extends B;
17+
def main(args : Array[String]) : Unit = {
18+
bb.initialize;
19+
}
20+
}
21+
22+
23+
24+

0 commit comments

Comments
 (0)