|
1 |
| --- [E008] Not Found Error: tests/neg/i10901.scala:45:38 ---------------------------------------------------------------- |
2 |
| -45 | val pos1: Point2D[Int,Double] = x º y // error |
3 |
| - | ^^^ |
4 |
| - | value º is not a member of object BugExp4Point2D.IntT. |
5 |
| - | An extension method was tried, but could not be fully constructed: |
6 |
| - | |
7 |
| - | º(x) |
8 |
| - | |
9 |
| - | failed with: |
10 |
| - | |
11 |
| - | Ambiguous overload. The overloaded alternatives of method º in object dsl with types |
12 |
| - | [T1, T2] |
13 |
| - | (x: BugExp4Point2D.ColumnType[T1]) |
14 |
| - | (y: BugExp4Point2D.ColumnType[T2]) |
15 |
| - | (using evidence$1: Numeric[T1], evidence$2: Numeric[T2]): BugExp4Point2D.Point2D[T1, T2] |
16 |
| - | [T1, T2] |
17 |
| - | (x: T1) |
18 |
| - | (y: BugExp4Point2D.ColumnType[T2]) |
19 |
| - | (using evidence$1: Numeric[T1], evidence$2: Numeric[T2]): BugExp4Point2D.Point2D[T1, T2] |
20 |
| - | both match arguments ((x : BugExp4Point2D.IntT.type))((y : BugExp4Point2D.DoubleT.type)) |
21 |
| --- [E008] Not Found Error: tests/neg/i10901.scala:48:38 ---------------------------------------------------------------- |
22 |
| -48 | val pos4: Point2D[Int,Double] = x º 201.1 // error |
23 |
| - | ^^^ |
24 |
| - |value º is not a member of object BugExp4Point2D.IntT. |
25 |
| - |An extension method was tried, but could not be fully constructed: |
26 |
| - | |
27 |
| - | º(x) |
28 |
| - | |
29 |
| - | failed with: |
30 |
| - | |
31 |
| - | Ambiguous overload. The overloaded alternatives of method º in object dsl with types |
32 |
| - | [T1, T2] |
33 |
| - | (x: BugExp4Point2D.ColumnType[T1]) |
34 |
| - | (y: T2)(using evidence$1: Numeric[T1], evidence$2: Numeric[T2]): BugExp4Point2D.Point2D[T1, T2] |
35 |
| - | [T1, T2](x: T1)(y: T2)(using evidence$1: Numeric[T1], evidence$2: Numeric[T2]): BugExp4Point2D.Point2D[T1, T2] |
36 |
| - | both match arguments ((x : BugExp4Point2D.IntT.type))((201.1d : Double)) |
37 | 1 | -- [E008] Not Found Error: tests/neg/i10901.scala:62:16 ----------------------------------------------------------------
|
38 | 2 | 62 | val y = "abc".foo // error
|
39 | 3 | | ^^^^^^^^^
|
|
0 commit comments