|
1 |
| -macro-deprecate-idents.scala:2: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 1 | +macro-deprecate-idents.scala:2: error: macro is now a reserved word; usage as an identifier is disallowed |
2 | 2 | val macro = ???
|
3 | 3 | ^
|
4 |
| -macro-deprecate-idents.scala:6: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 4 | +macro-deprecate-idents.scala:6: error: macro is now a reserved word; usage as an identifier is disallowed |
5 | 5 | var macro = ???
|
6 | 6 | ^
|
7 |
| -macro-deprecate-idents.scala:10: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 7 | +macro-deprecate-idents.scala:10: error: macro is now a reserved word; usage as an identifier is disallowed |
8 | 8 | type macro = Int
|
9 | 9 | ^
|
10 |
| -macro-deprecate-idents.scala:14: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 10 | +macro-deprecate-idents.scala:14: error: macro is now a reserved word; usage as an identifier is disallowed |
11 | 11 | class macro
|
12 | 12 | ^
|
13 |
| -macro-deprecate-idents.scala:18: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 13 | +macro-deprecate-idents.scala:18: error: macro is now a reserved word; usage as an identifier is disallowed |
14 | 14 | class macro
|
15 | 15 | ^
|
16 |
| -macro-deprecate-idents.scala:22: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 16 | +macro-deprecate-idents.scala:22: error: macro is now a reserved word; usage as an identifier is disallowed |
17 | 17 | object macro
|
18 | 18 | ^
|
19 |
| -macro-deprecate-idents.scala:26: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 19 | +macro-deprecate-idents.scala:26: error: macro is now a reserved word; usage as an identifier is disallowed |
20 | 20 | object macro
|
21 | 21 | ^
|
22 |
| -macro-deprecate-idents.scala:30: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 22 | +macro-deprecate-idents.scala:30: error: macro is now a reserved word; usage as an identifier is disallowed |
23 | 23 | trait macro
|
24 | 24 | ^
|
25 |
| -macro-deprecate-idents.scala:34: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 25 | +macro-deprecate-idents.scala:34: error: macro is now a reserved word; usage as an identifier is disallowed |
26 | 26 | trait macro
|
27 | 27 | ^
|
28 |
| -macro-deprecate-idents.scala:37: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 28 | +macro-deprecate-idents.scala:37: error: macro is now a reserved word; usage as an identifier is disallowed |
29 | 29 | package macro {
|
30 | 30 | ^
|
31 |
| -macro-deprecate-idents.scala:38: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 31 | +macro-deprecate-idents.scala:38: error: macro is now a reserved word; usage as an identifier is disallowed |
32 | 32 | package macro.bar {
|
33 | 33 | ^
|
34 |
| -macro-deprecate-idents.scala:43: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 34 | +macro-deprecate-idents.scala:43: error: macro is now a reserved word; usage as an identifier is disallowed |
35 | 35 | package macro.foo {
|
36 | 36 | ^
|
37 |
| -macro-deprecate-idents.scala:48: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 37 | +macro-deprecate-idents.scala:48: error: macro is now a reserved word; usage as an identifier is disallowed |
38 | 38 | val Some(macro) = Some(42)
|
39 | 39 | ^
|
40 |
| -macro-deprecate-idents.scala:49: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 40 | +macro-deprecate-idents.scala:49: error: macro is now a reserved word; usage as an identifier is disallowed |
41 | 41 | macro match {
|
42 | 42 | ^
|
43 |
| -macro-deprecate-idents.scala:50: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 43 | +macro-deprecate-idents.scala:50: error: macro is now a reserved word; usage as an identifier is disallowed |
44 | 44 | case macro => println(macro)
|
45 | 45 | ^
|
46 |
| -macro-deprecate-idents.scala:50: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 46 | +macro-deprecate-idents.scala:50: error: macro is now a reserved word; usage as an identifier is disallowed |
47 | 47 | case macro => println(macro)
|
48 | 48 | ^
|
49 |
| -macro-deprecate-idents.scala:55: warning: macro is now a reserved word; usage as an identifier is deprecated |
| 49 | +macro-deprecate-idents.scala:55: error: macro is now a reserved word; usage as an identifier is disallowed |
50 | 50 | def macro = 2
|
51 | 51 | ^
|
52 |
| -error: No warnings can be incurred under -Xfatal-warnings. |
53 |
| -17 warnings found |
54 |
| -one error found |
| 52 | +macro-deprecate-idents.scala:3: error: '=' expected but '}' found. |
| 53 | +} |
| 54 | +^ |
| 55 | +macro-deprecate-idents.scala:7: error: '=' expected but '}' found. |
| 56 | +} |
| 57 | +^ |
| 58 | +macro-deprecate-idents.scala:42: error: '{' expected but ';' found. |
| 59 | +package foo { |
| 60 | +^ |
| 61 | +macro-deprecate-idents.scala:45: error: '{' expected but '}' found. |
| 62 | +} |
| 63 | +^ |
| 64 | +macro-deprecate-idents.scala:52: error: ')' expected but '}' found. |
| 65 | +} |
| 66 | +^ |
| 67 | +22 errors found |
0 commit comments