|
4 | 4 | |object creation impossible, since def apply(fa: String): Int in trait XX in object Test3 is not defined
|
5 | 5 | |(Note that
|
6 | 6 | | parameter String in def apply(fa: String): Int in trait XX in object Test3 does not match
|
7 | | - | parameter Test3.Bar[X & (X & Y)] in def apply(fa: Test3.Bar[X & YY.this.Foo]): Test3.Bar[Y & YY.this.Foo] in trait YY in object Test3 |
| 7 | + | parameter Test3.Bar[X & Object with Test3.YY {...}#Foo] in def apply(fa: Test3.Bar[X & YY.this.Foo]): Test3.Bar[Y & YY.this.Foo] in trait YY in object Test3 |
8 | 8 | | )
|
9 | 9 | -- Error: tests/neg/6314-6.scala:52:3 ----------------------------------------------------------------------------------
|
10 | 10 | 52 | (new YY {}).boom // error: object creation impossible
|
11 | 11 | | ^
|
12 | 12 | |object creation impossible, since def apply(fa: String): Int in trait XX in object Test4 is not defined
|
13 | 13 | |(Note that
|
14 | 14 | | parameter String in def apply(fa: String): Int in trait XX in object Test4 does not match
|
15 | | - | parameter Test4.Bar[X & (X & Y)] in def apply(fa: Test4.Bar[X & YY.this.FooAlias]): Test4.Bar[Y & YY.this.FooAlias] in trait YY in object Test4 |
| 15 | + | parameter Test4.Bar[X & Object with Test4.YY {...}#FooAlias] in def apply(fa: Test4.Bar[X & YY.this.FooAlias]): Test4.Bar[Y & YY.this.FooAlias] in trait YY in object Test4 |
16 | 16 | | )
|
0 commit comments