|
| 1 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:3:16 ----------------------------------------------------- |
| 2 | +3 | if (x < 0 then // error |
| 3 | + | ^^^^ |
| 4 | + | ')' expected, but 'then' found |
| 5 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:11:16 ---------------------------------------------------- |
| 6 | +11 | if (x < 0 then // error |
| 7 | + | ^^^^ |
| 8 | + | ')' expected, but 'then' found |
| 9 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:19:4 ----------------------------------------------------- |
| 10 | +19 | if x == 0 then println(bar) // error |
| 11 | + | ^^ |
| 12 | + | ')' expected, but 'if' found |
| 13 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:23:12 ---------------------------------------------------- |
| 14 | +23 | if x < 0) then // error |
| 15 | + | ^ |
| 16 | + | 'then' expected, but ')' found |
| 17 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:32:16 ---------------------------------------------------- |
| 18 | +32 | if (x < 0 then // error |
| 19 | + | ^^^^ |
| 20 | + | ')' expected, but 'then' found |
| 21 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:40:16 ---------------------------------------------------- |
| 22 | +40 | if (x < 0 then // error |
| 23 | + | ^^^^ |
| 24 | + | ')' expected, but 'then' found |
| 25 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:48:4 ----------------------------------------------------- |
| 26 | +48 | if x == 0 then println(bar) // error |
| 27 | + | ^^ |
| 28 | + | ')' expected, but 'if' found |
| 29 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:52:12 ---------------------------------------------------- |
| 30 | +52 | if x < 0) then // error |
| 31 | + | ^ |
| 32 | + | 'then' expected, but ')' found |
| 33 | +-- [E018] Syntax Error: tests/neg/syntax-error-recovery.scala:59:14 ---------------------------------------------------- |
| 34 | +59 | foo2(foo2(,) // error // error |
| 35 | + | ^ |
| 36 | + | expression expected but [31m','[0m found |
| 37 | + | |
| 38 | + | longer explanation available when compiling with `-explain` |
| 39 | +-- [E018] Syntax Error: tests/neg/syntax-error-recovery.scala:59:15 ---------------------------------------------------- |
| 40 | +59 | foo2(foo2(,) // error // error |
| 41 | + | ^ |
| 42 | + | expression expected but [31m')'[0m found |
| 43 | + | |
| 44 | + | longer explanation available when compiling with `-explain` |
| 45 | +-- [E040] Syntax Error: tests/neg/syntax-error-recovery.scala:62:8 ----------------------------------------------------- |
| 46 | +62 |// error |
| 47 | + | ^ |
| 48 | + | ')' expected, but eof found |
| 49 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:8:10 -------------------------------------------------- |
| 50 | +8 | println(bar) // error |
| 51 | + | ^^^ |
| 52 | + | Not found: bar |
| 53 | + | |
| 54 | + | longer explanation available when compiling with `-explain` |
| 55 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:15:10 ------------------------------------------------- |
| 56 | +15 | println(baz) // error |
| 57 | + | ^^^ |
| 58 | + | Not found: baz |
| 59 | + | |
| 60 | + | longer explanation available when compiling with `-explain` |
| 61 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:20:10 ------------------------------------------------- |
| 62 | +20 | println(bar) // error |
| 63 | + | ^^^ |
| 64 | + | Not found: bar |
| 65 | + | |
| 66 | + | longer explanation available when compiling with `-explain` |
| 67 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:27:10 ------------------------------------------------- |
| 68 | +27 | println(bam) // error |
| 69 | + | ^^^ |
| 70 | + | Not found: bam |
| 71 | + | |
| 72 | + | longer explanation available when compiling with `-explain` |
| 73 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:37:10 ------------------------------------------------- |
| 74 | +37 | println(bar) // error |
| 75 | + | ^^^ |
| 76 | + | Not found: bar |
| 77 | + | |
| 78 | + | longer explanation available when compiling with `-explain` |
| 79 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:44:10 ------------------------------------------------- |
| 80 | +44 | println(baz) // error |
| 81 | + | ^^^ |
| 82 | + | Not found: baz |
| 83 | + | |
| 84 | + | longer explanation available when compiling with `-explain` |
| 85 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:49:10 ------------------------------------------------- |
| 86 | +49 | println(bar) // error |
| 87 | + | ^^^ |
| 88 | + | Not found: bar |
| 89 | + | |
| 90 | + | longer explanation available when compiling with `-explain` |
| 91 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:56:10 ------------------------------------------------- |
| 92 | +56 | println(bam) // error |
| 93 | + | ^^^ |
| 94 | + | Not found: bam |
| 95 | + | |
| 96 | + | longer explanation available when compiling with `-explain` |
| 97 | +-- [E006] Not Found Error: tests/neg/syntax-error-recovery.scala:61:10 ------------------------------------------------- |
| 98 | +61 | println(bam) // error |
| 99 | + | ^^^ |
| 100 | + | Not found: bam |
| 101 | + | |
| 102 | + | longer explanation available when compiling with `-explain` |
| 103 | +-- [E129] Potential Issue Warning: tests/neg/syntax-error-recovery.scala:7:2 ------------------------------------------- |
| 104 | +6 | 2 |
| 105 | +7 | } |
| 106 | + | ^ |
| 107 | + | A pure expression does nothing in statement position; you may be omitting necessary parentheses |
| 108 | + | |
| 109 | + | longer explanation available when compiling with `-explain` |
| 110 | +-- [E129] Potential Issue Warning: tests/neg/syntax-error-recovery.scala:15:2 ------------------------------------------ |
| 111 | +14 | 2 |
| 112 | +15 | println(baz) // error |
| 113 | + | ^ |
| 114 | + | A pure expression does nothing in statement position; you may be omitting necessary parentheses |
| 115 | + | |
| 116 | + | longer explanation available when compiling with `-explain` |
| 117 | +-- [E129] Potential Issue Warning: tests/neg/syntax-error-recovery.scala:27:2 ------------------------------------------ |
| 118 | +26 | 2 |
| 119 | +27 | println(bam) // error |
| 120 | + | ^ |
| 121 | + | A pure expression does nothing in statement position; you may be omitting necessary parentheses |
| 122 | + | |
| 123 | + | longer explanation available when compiling with `-explain` |
| 124 | +-- [E129] Potential Issue Warning: tests/neg/syntax-error-recovery.scala:36:2 ------------------------------------------ |
| 125 | +35 | 2 |
| 126 | +36 | } |
| 127 | + | ^ |
| 128 | + | A pure expression does nothing in statement position; you may be omitting necessary parentheses |
| 129 | + | |
| 130 | + | longer explanation available when compiling with `-explain` |
| 131 | +-- [E129] Potential Issue Warning: tests/neg/syntax-error-recovery.scala:44:2 ------------------------------------------ |
| 132 | +43 | 2 |
| 133 | +44 | println(baz) // error |
| 134 | + | ^ |
| 135 | + | A pure expression does nothing in statement position; you may be omitting necessary parentheses |
| 136 | + | |
| 137 | + | longer explanation available when compiling with `-explain` |
| 138 | +-- [E129] Potential Issue Warning: tests/neg/syntax-error-recovery.scala:56:2 ------------------------------------------ |
| 139 | +55 | 2 |
| 140 | +56 | println(bam) // error |
| 141 | + | ^ |
| 142 | + | A pure expression does nothing in statement position; you may be omitting necessary parentheses |
| 143 | + | |
| 144 | + | longer explanation available when compiling with `-explain` |
0 commit comments