|
| 1 | +-- [E008] Not Found Error: tests/neg/22145b.scala:13:19 ---------------------------------------------------------------- |
| 2 | +13 | require(base.isWithin(p, start, end), "position is out of bounds") // error |
| 3 | + | ^^^^^^^^^^^^^ |
| 4 | + | value isWithin is not a member of Collection.this.Self |
| 5 | +-- [E008] Not Found Error: tests/neg/22145b.scala:26:59 ---------------------------------------------------------------- |
| 6 | +26 | def positionAfter(p: Position): Position = self.base.positionAfter(p) // error |
| 7 | + | ^^^^^^^^^^^^^^^^^^^^^^^ |
| 8 | + |value positionAfter is not a member of Collection.this.Self. |
| 9 | + |An extension method was tried, but could not be fully constructed: |
| 10 | + | |
| 11 | + | this.positionAfter(self.base) |
| 12 | + | |
| 13 | + | failed with: |
| 14 | + | |
| 15 | + | Found: (self.base : Collection.this.Self) |
| 16 | + | Required: Collection.given_is_Slice_Collection.Self² |
| 17 | + | |
| 18 | + | where: Self is a type in trait Collection |
| 19 | + | Self² is a type in object given_is_Slice_Collection which is an alias of Collection.this.Slice |
| 20 | + | |
| 21 | +-- [E008] Not Found Error: tests/neg/22145b.scala:27:50 ---------------------------------------------------------------- |
| 22 | +27 | def apply(p: Position): Element = self.base.apply(p) // error |
| 23 | + | ^^^^^^^^^^^^^^^ |
| 24 | + |value apply is not a member of Collection.this.Self. |
| 25 | + |An extension method was tried, but could not be fully constructed: |
| 26 | + | |
| 27 | + | this.apply(self.base) |
| 28 | + | |
| 29 | + | failed with: |
| 30 | + | |
| 31 | + | Found: (self.base : Collection.this.Self) |
| 32 | + | Required: Collection.given_is_Slice_Collection.Self² |
| 33 | + | |
| 34 | + | where: Self is a type in trait Collection |
| 35 | + | Self² is a type in object given_is_Slice_Collection which is an alias of Collection.this.Slice |
| 36 | + | |
0 commit comments