|
| 1 | +-- Error: tests/neg/indent-colons.scala:6:4 ---------------------------------------------------------------------------- |
| 2 | +6 | : // error |
| 3 | + | ^ |
| 4 | + | end of statement expected but ':' found |
| 5 | +-- Error: tests/neg/indent-colons.scala:12:2 --------------------------------------------------------------------------- |
| 6 | +12 | : // error |
| 7 | + | ^ |
| 8 | + | end of statement expected but ':' found |
| 9 | +-- Error: tests/neg/indent-colons.scala:19:2 --------------------------------------------------------------------------- |
| 10 | +19 | : // error |
| 11 | + | ^ |
| 12 | + | end of statement expected but ':' found |
| 13 | +-- [E018] Syntax Error: tests/neg/indent-colons.scala:26:14 ------------------------------------------------------------ |
| 14 | +26 | val y = 1 + : // error |
| 15 | + | ^ |
| 16 | + | expression expected but [31m:[0m found |
| 17 | + | |
| 18 | + | longer explanation available when compiling with `-explain` |
| 19 | +-- [E018] Syntax Error: tests/neg/indent-colons.scala:30:27 ------------------------------------------------------------ |
| 20 | +30 | val all = credentials ++ : // error |
| 21 | + | ^ |
| 22 | + | expression expected but [31m:[0m found |
| 23 | + | |
| 24 | + | longer explanation available when compiling with `-explain` |
| 25 | +-- [E134] Type Error: tests/neg/indent-colons.scala:23:12 -------------------------------------------------------------- |
| 26 | +23 | val x = 1.+ : // error |
| 27 | + | ^^^ |
| 28 | + | None of the overloaded alternatives of method + in class Int with types |
| 29 | + | (x: Double): Double |
| 30 | + | (x: Float): Float |
| 31 | + | (x: Long): Long |
| 32 | + | (x: Int): Int |
| 33 | + | (x: Char): Int |
| 34 | + | (x: Short): Int |
| 35 | + | (x: Byte): Int |
| 36 | + | (x: String): String |
| 37 | + | match expected type (2 : Int) |
| 38 | +-- [E006] Not Found Error: tests/neg/indent-colons.scala:32:7 ---------------------------------------------------------- |
| 39 | +32 | if file.isEmpty // error |
| 40 | + | ^^^^ |
| 41 | + | Not found: file |
| 42 | + | |
| 43 | + | longer explanation available when compiling with `-explain` |
| 44 | +-- [E006] Not Found Error: tests/neg/indent-colons.scala:34:13 --------------------------------------------------------- |
| 45 | +34 | else Seq(file) // error |
| 46 | + | ^^^^ |
| 47 | + | Not found: file |
| 48 | + | |
| 49 | + | longer explanation available when compiling with `-explain` |
| 50 | +-- Error: tests/neg/indent-colons.scala:4:2 ---------------------------------------------------------------------------- |
| 51 | +4 | tryEither: // error |
| 52 | + | ^^^^^^^^^ |
| 53 | + | missing arguments for method tryEither |
| 54 | +-- Error: tests/neg/indent-colons.scala:10:2 --------------------------------------------------------------------------- |
| 55 | +10 | tryEither: // error |
| 56 | + | ^^^^^^^^^ |
| 57 | + | missing arguments for method tryEither |
| 58 | +-- Error: tests/neg/indent-colons.scala:17:2 --------------------------------------------------------------------------- |
| 59 | +17 | Some(3).fold: // error |
| 60 | + | ^^^^^^^^^^^^ |
| 61 | + | missing arguments for method fold in class Option |
0 commit comments