|
1 | | -S.scala:2: warning: Adaptation of argument list by inserting () is deprecated: leaky (Object-receiving) target makes this especially dangerous. |
| 1 | +S.scala:4: warning: Adaptation of argument list by inserting () is deprecated: leaky (Object-receiving) target makes this especially dangerous. |
2 | 2 | signature: J(x: Any): J |
3 | 3 | given arguments: <none> |
4 | 4 | after adaptation: new J((): Unit) |
5 | 5 | val x1 = new J |
6 | 6 | ^ |
7 | | -S.scala:3: warning: Adaptation of argument list by inserting () is deprecated: leaky (Object-receiving) target makes this especially dangerous. |
| 7 | +S.scala:5: warning: Adaptation of argument list by inserting () is deprecated: leaky (Object-receiving) target makes this especially dangerous. |
8 | 8 | signature: J(x: Any): J |
9 | 9 | given arguments: <none> |
10 | 10 | after adaptation: new J((): Unit) |
11 | 11 | val x2 = new J() |
12 | 12 | ^ |
13 | | -S.scala:4: warning: Adapting argument list by creating a 5-tuple: this may not be what you want. |
| 13 | +S.scala:6: warning: Adapting argument list by creating a 5-tuple: this may not be what you want. |
14 | 14 | signature: J(x: Any): J |
15 | 15 | given arguments: 1, 2, 3, 4, 5 |
16 | 16 | after adaptation: new J((1, 2, 3, 4, 5): (Int, Int, Int, Int, Int)) |
17 | 17 | val x3 = new J(1, 2, 3, 4, 5) |
18 | 18 | ^ |
19 | | -S.scala:6: warning: Adapting argument list by creating a 3-tuple: this may not be what you want. |
| 19 | +S.scala:8: warning: Adapting argument list by creating a 3-tuple: this may not be what you want. |
20 | 20 | signature: Some.apply[A](value: A): Some[A] |
21 | 21 | given arguments: 1, 2, 3 |
22 | 22 | after adaptation: Some((1, 2, 3): (Int, Int, Int)) |
23 | 23 | val y1 = Some(1, 2, 3) |
24 | 24 | ^ |
25 | | -S.scala:7: warning: Adapting argument list by creating a 3-tuple: this may not be what you want. |
| 25 | +S.scala:9: warning: Adapting argument list by creating a 3-tuple: this may not be what you want. |
26 | 26 | signature: Some(value: A): Some[A] |
27 | 27 | given arguments: 1, 2, 3 |
28 | 28 | after adaptation: new Some((1, 2, 3): (Int, Int, Int)) |
29 | 29 | val y2 = new Some(1, 2, 3) |
30 | 30 | ^ |
31 | | -S.scala:9: warning: Adaptation of argument list by inserting () is deprecated: this is unlikely to be what you want. |
| 31 | +S.scala:11: warning: Adaptation of argument list by inserting () is deprecated: this is unlikely to be what you want. |
32 | 32 | signature: J2(x: T): J2[T] |
33 | 33 | given arguments: <none> |
34 | 34 | after adaptation: new J2((): Unit) |
35 | 35 | val z1 = new J2 |
36 | 36 | ^ |
37 | | -S.scala:10: warning: Adaptation of argument list by inserting () is deprecated: this is unlikely to be what you want. |
| 37 | +S.scala:12: warning: Adaptation of argument list by inserting () is deprecated: this is unlikely to be what you want. |
38 | 38 | signature: J2(x: T): J2[T] |
39 | 39 | given arguments: <none> |
40 | 40 | after adaptation: new J2((): Unit) |
41 | 41 | val z2 = new J2() |
42 | 42 | ^ |
43 | | -S.scala:14: warning: Adapting argument list by creating a 3-tuple: this may not be what you want. |
| 43 | +S.scala:16: warning: Adapting argument list by creating a 3-tuple: this may not be what you want. |
44 | 44 | signature: Test.anyId(a: Any): Any |
45 | 45 | given arguments: 1, 2, 3 |
46 | 46 | after adaptation: Test.anyId((1, 2, 3): (Int, Int, Int)) |
|
0 commit comments