|
1 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:26:6 ----------------------------------------------------------- |
2 |
| -26 | def t = 27 // error |
| 1 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:29:6 ----------------------------------------------------------- |
| 2 | +29 | def t = 27 // error |
3 | 3 | | ^
|
4 | 4 | | Suspicious extension t is already a member of T
|
5 | 5 | |
|
6 | 6 | | longer explanation available when compiling with `-explain`
|
7 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:28:6 ----------------------------------------------------------- |
8 |
| -28 | def g(x: String)(i: Int): String = x*i // error |
| 7 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:31:6 ----------------------------------------------------------- |
| 8 | +31 | def g(x: String)(i: Int): String = x*i // error |
9 | 9 | | ^
|
10 | 10 | | Suspicious extension g is already a member of T
|
11 | 11 | |
|
12 | 12 | | longer explanation available when compiling with `-explain`
|
13 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:29:6 ----------------------------------------------------------- |
14 |
| -29 | def h(x: String): String = x // error |
| 13 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:32:6 ----------------------------------------------------------- |
| 14 | +32 | def h(x: String): String = x // error |
15 | 15 | | ^
|
16 | 16 | | Suspicious extension h is already a member of T
|
17 | 17 | |
|
18 | 18 | | longer explanation available when compiling with `-explain`
|
19 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:31:6 ----------------------------------------------------------- |
20 |
| -31 | def j(x: Any, y: Int): String = (x.toString)*y // error |
| 19 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:34:6 ----------------------------------------------------------- |
| 20 | +34 | def j(x: Any, y: Int): String = (x.toString)*y // error |
21 | 21 | | ^
|
22 | 22 | | Suspicious extension j is already a member of T
|
23 | 23 | |
|
24 | 24 | | longer explanation available when compiling with `-explain`
|
25 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:32:6 ----------------------------------------------------------- |
26 |
| -32 | def k(x: String): String = x // error |
| 25 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:35:6 ----------------------------------------------------------- |
| 26 | +35 | def k(x: String): String = x // error |
27 | 27 | | ^
|
28 | 28 | | Suspicious extension k is already a member of T
|
29 | 29 | |
|
30 | 30 | | longer explanation available when compiling with `-explain`
|
31 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:33:6 ----------------------------------------------------------- |
32 |
| -33 | def l(using String): String = summon[String] // error: can't be called implicitly |
| 31 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:36:6 ----------------------------------------------------------- |
| 32 | +36 | def l(using String): String = summon[String] // error: can't be called implicitly |
33 | 33 | | ^
|
34 | 34 | | Suspicious extension l is already a member of T
|
35 | 35 | |
|
36 | 36 | | longer explanation available when compiling with `-explain`
|
37 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:34:6 ----------------------------------------------------------- |
38 |
| -34 | def m(using String): String = "m" + summon[String] // error |
| 37 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:37:6 ----------------------------------------------------------- |
| 38 | +37 | def m(using String): String = "m" + summon[String] // error |
39 | 39 | | ^
|
40 | 40 | | Suspicious extension m is already a member of T
|
41 | 41 | |
|
42 | 42 | | longer explanation available when compiling with `-explain`
|
43 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:35:6 ----------------------------------------------------------- |
44 |
| -35 | def n(using String): String = "n" + summon[String] // error |
| 43 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:38:6 ----------------------------------------------------------- |
| 44 | +38 | def n(using String): String = "n" + summon[String] // error |
45 | 45 | | ^
|
46 | 46 | | Suspicious extension n is already a member of T
|
47 | 47 | |
|
48 | 48 | | longer explanation available when compiling with `-explain`
|
49 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:36:6 ----------------------------------------------------------- |
50 |
| -36 | def o: String = "42" // error |
| 49 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:39:6 ----------------------------------------------------------- |
| 50 | +39 | def o: String = "42" // error |
51 | 51 | | ^
|
52 | 52 | | Suspicious extension o is already a member of T
|
53 | 53 | |
|
54 | 54 | | longer explanation available when compiling with `-explain`
|
55 |
| --- [E193] Potential Issue Error: tests/neg/i16743.scala:37:6 ----------------------------------------------------------- |
56 |
| -37 | def u: Int = 27 // error |
| 55 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:40:6 ----------------------------------------------------------- |
| 56 | +40 | def u: Int = 27 // error |
57 | 57 | | ^
|
58 | 58 | | Suspicious extension u is already a member of T
|
59 | 59 | |
|
60 | 60 | | longer explanation available when compiling with `-explain`
|
| 61 | +-- [E193] Potential Issue Error: tests/neg/i16743.scala:43:6 ----------------------------------------------------------- |
| 62 | +43 | def at: Int = 42 // error |
| 63 | + | ^ |
| 64 | + | Suspicious extension at is already a member of T |
| 65 | + | |
| 66 | + | longer explanation available when compiling with `-explain` |
0 commit comments