|
31 | 31 | | final def status: => List[String] in class Copier at line 23 and |
32 | 32 | | final def status: => List[String] in class Copier at line 24 |
33 | 33 | | have the same type after erasure. |
34 | | --- Error: tests/neg/exports.scala:35:15 -------------------------------------------------------------------------------- |
35 | | -35 | export this.{concat => ++} // error: no eligible member |
36 | | - | ^^^^^^ |
37 | | - | no eligible member concat at this |
38 | | - | this.concat cannot be exported because it is already a member of trait IterableOps |
39 | | --- Error: tests/neg/exports.scala:41:13 -------------------------------------------------------------------------------- |
40 | | -41 | export foo.foo // error: no eligible member |
41 | | - | ^^^ |
42 | | - | no eligible member foo at this.foo |
43 | | - | this.foo.foo cannot be exported because it is already a member of class Foo |
44 | | --- [E120] Duplicate Symbol Error: tests/neg/exports.scala:46:13 -------------------------------------------------------- |
45 | | -46 | export bar._ // error: double definition |
46 | | - | ^ |
47 | | - | Double definition: |
48 | | - | val bar: Bar in class Baz at line 45 and |
49 | | - | final def bar: => => Bar(Baz.this.bar.baz.bar)(Baz.this.bar.bar) in class Baz at line 46 |
| 34 | +-- Error: tests/neg/exports.scala:35:17 -------------------------------------------------------------------------------- |
| 35 | +35 | export this.{concat => ++} // error: no eligible member |
| 36 | + | ^^^^^^ |
| 37 | + | no eligible member concat at this |
| 38 | + | this.concat cannot be exported because it is already a member of trait IterableOps |
| 39 | +-- Error: tests/neg/exports.scala:41:15 -------------------------------------------------------------------------------- |
| 40 | +41 | export foo.foo // error: no eligible member |
| 41 | + | ^^^ |
| 42 | + | no eligible member foo at this.foo |
| 43 | + | this.foo.foo cannot be exported because it is already a member of class Foo |
| 44 | +-- [E120] Duplicate Symbol Error: tests/neg/exports.scala:46:15 -------------------------------------------------------- |
| 45 | +46 | export bar._ // error: double definition |
| 46 | + | ^ |
| 47 | + | Double definition: |
| 48 | + | val bar: Bar in class Baz at line 45 and |
| 49 | + | final def bar: => => Bar(Baz.this.bar.baz.bar)(Baz.this.bar.bar) in class Baz at line 46 |
0 commit comments