|
1 |
| --- Error: tests/neg/i15009a.scala:4:9 ---------------------------------------------------------------------------------- |
| 1 | +-- Error: tests/neg-macros/i15009a.scala:4:9 --------------------------------------------------------------------------- |
2 | 2 | 4 | '[List[${Type.of[Int]}]] // error
|
3 | 3 | | ^^^^^^^^^^^^^^^
|
4 | 4 | | Type splicing with `$` in quotes not supported anymore
|
5 | 5 | |
|
6 | 6 | | Hint: To use a given Type[T] in a quote just write T directly
|
7 |
| --- Error: tests/neg/i15009a.scala:7:16 --------------------------------------------------------------------------------- |
| 7 | +-- Error: tests/neg-macros/i15009a.scala:7:16 -------------------------------------------------------------------------- |
8 | 8 | 7 | case '[List[$a]] => // error
|
9 | 9 | | ^^
|
10 | 10 | | Type splicing with `$` in quotes not supported anymore
|
11 | 11 | |
|
12 | 12 | | Hint: Use lower cased variable name without the `$` instead
|
13 |
| --- Error: tests/neg/i15009a.scala:10:16 -------------------------------------------------------------------------------- |
| 13 | +-- Error: tests/neg-macros/i15009a.scala:10:16 ------------------------------------------------------------------------- |
14 | 14 | 10 | '{ List.empty[$int] } // error
|
15 | 15 | | ^^^^
|
16 | 16 | | Type splicing with `$` in quotes not supported anymore
|
17 | 17 | |
|
18 | 18 | | Hint: To use a given Type[T] in a quote just write T directly
|
19 |
| --- Error: tests/neg/i15009a.scala:11:9 --------------------------------------------------------------------------------- |
| 19 | +-- Error: tests/neg-macros/i15009a.scala:11:9 -------------------------------------------------------------------------- |
20 | 20 | 11 | val t: ${int} = ??? // error
|
21 | 21 | | ^^^^^^
|
22 | 22 | | Type splicing with `$` in quotes not supported anymore
|
23 | 23 | |
|
24 | 24 | | Hint: To use a given Type[T] in a quote just write T directly
|
25 |
| --- Error: tests/neg/i15009a.scala:3:2 ---------------------------------------------------------------------------------- |
| 25 | +-- Error: tests/neg-macros/i15009a.scala:3:2 --------------------------------------------------------------------------- |
26 | 26 | 3 | '[Int] // error
|
27 | 27 | | ^^^^^^
|
28 | 28 | | Quoted types `'[..]` can only be used in patterns.
|
29 | 29 | |
|
30 | 30 | | Hint: To get a scala.quoted.Type[T] use scala.quoted.Type.of[T] instead.
|
31 |
| --- [E006] Not Found Error: tests/neg/i15009a.scala:12:2 ---------------------------------------------------------------- |
| 31 | +-- [E006] Not Found Error: tests/neg-macros/i15009a.scala:12:2 --------------------------------------------------------- |
32 | 32 | 12 | $int // error: Not found: $int
|
33 | 33 | | ^^^^
|
34 | 34 | | Not found: $int
|
|
0 commit comments