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