|
1 | | --- Warning: tests/neg/hidden-type-errors/Test.scala:8:24 --------------------------------------------------------------- |
2 | | - 8 | val x = X.doSomething("XXX") // error |
3 | | - | ^^^^^^^^^^^^^^^^^^^^ |
4 | | - | Context bounds will map to context parameters. |
5 | | - | A `using` clause is needed to pass explicit arguments to them. |
6 | | - | This code can be rewritten automatically under -rewrite -source 3.5-migration. |
7 | | - |-------------------------------------------------------------------------------------------------------------------- |
8 | | - |Inline stack trace |
9 | | - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
10 | | - |This location contains code that was inlined from Macro.scala:15 |
11 | | -15 | doSomethingImpl('x) |
12 | | - | ^^^^^^^^^^^^^^^^^^^ |
13 | | - -------------------------------------------------------------------------------------------------------------------- |
14 | 1 | -- [E007] Type Mismatch Error: tests/neg/hidden-type-errors/Test.scala:8:24 -------------------------------------------- |
15 | 2 | 8 | val x = X.doSomething("XXX") // error |
16 | 3 | | ^^^^^^^^^^^^^^^^^^^^ |
|
31 | 18 | | |
32 | 19 | | The tests were made under the empty constraint |
33 | 20 | --------------------------------------------------------------------------------------------------------------------- |
34 | | --- Warning: tests/neg/hidden-type-errors/Test.scala:8:24 --------------------------------------------------------------- |
35 | | - 8 | val x = X.doSomething("XXX") // error |
36 | | - | ^^^^^^^^^^^^^^^^^^^^ |
37 | | - | Context bounds will map to context parameters. |
38 | | - | A `using` clause is needed to pass explicit arguments to them. |
39 | | - | This code can be rewritten automatically under -rewrite -source 3.5-migration. |
40 | | - |-------------------------------------------------------------------------------------------------------------------- |
41 | | - |Inline stack trace |
42 | | - |- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
43 | | - |This location contains code that was inlined from Macro.scala:15 |
44 | | -15 | doSomethingImpl('x) |
45 | | - | ^^^^^^^^^^^^^^^^^^^ |
46 | | - -------------------------------------------------------------------------------------------------------------------- |
0 commit comments