|
| 1 | +trailing-commas.scala:10: error: illegal start of simple expression |
| 2 | +trait ArgumentExprs1 { f(23, "bar", )(Ev0, Ev1) } |
| 3 | + ^ |
| 4 | +trailing-commas.scala:10: error: ')' expected but '}' found. |
| 5 | +trait ArgumentExprs1 { f(23, "bar", )(Ev0, Ev1) } |
| 6 | + ^ |
| 7 | +trailing-commas.scala:11: error: illegal start of simple expression |
| 8 | +trait ArgumentExprs2 { f(23, "bar")(Ev0, Ev1, ) } |
| 9 | + ^ |
| 10 | +trailing-commas.scala:11: error: ')' expected but '}' found. |
| 11 | +trait ArgumentExprs2 { f(23, "bar")(Ev0, Ev1, ) } |
| 12 | + ^ |
| 13 | +trailing-commas.scala:12: error: illegal start of simple expression |
| 14 | +trait ArgumentExprs3 { new C(23, "bar", )(Ev0, Ev1) } |
| 15 | + ^ |
| 16 | +trailing-commas.scala:12: error: ')' expected but '}' found. |
| 17 | +trait ArgumentExprs3 { new C(23, "bar", )(Ev0, Ev1) } |
| 18 | + ^ |
| 19 | +trailing-commas.scala:13: error: illegal start of simple expression |
| 20 | +trait ArgumentExprs4 { new C(23, "bar")(Ev0, Ev1, ) } |
| 21 | + ^ |
| 22 | +trailing-commas.scala:13: error: ')' expected but '}' found. |
| 23 | +trait ArgumentExprs4 { new C(23, "bar")(Ev0, Ev1, ) } |
| 24 | + ^ |
| 25 | +trailing-commas.scala:15: error: identifier expected but ')' found. |
| 26 | +trait Params1 { def f(foo: Int, bar: String, )(implicit ev0: Ev0, ev1: Ev1, ) = 1 } |
| 27 | + ^ |
| 28 | +trailing-commas.scala:15: error: ':' expected but '}' found. |
| 29 | +trait Params1 { def f(foo: Int, bar: String, )(implicit ev0: Ev0, ev1: Ev1, ) = 1 } |
| 30 | + ^ |
| 31 | +trailing-commas.scala:16: error: identifier expected but ')' found. |
| 32 | +trait Params2 { def f(foo: Int, bar: String, )(implicit ev0: Ev0, ev1: Ev1, ) = 1 } |
| 33 | + ^ |
| 34 | +trailing-commas.scala:16: error: ':' expected but '}' found. |
| 35 | +trait Params2 { def f(foo: Int, bar: String, )(implicit ev0: Ev0, ev1: Ev1, ) = 1 } |
| 36 | + ^ |
| 37 | +trailing-commas.scala:17: error: identifier expected but ')' found. |
| 38 | +trait ClassParams1 { final class C(foo: Int, bar: String, )(implicit ev0: Ev0, ev1: Ev1) } |
| 39 | + ^ |
| 40 | +trailing-commas.scala:17: error: ':' expected but '}' found. |
| 41 | +trait ClassParams1 { final class C(foo: Int, bar: String, )(implicit ev0: Ev0, ev1: Ev1) } |
| 42 | + ^ |
| 43 | +trailing-commas.scala:18: error: identifier expected but ')' found. |
| 44 | +trait ClassParams2 { final class C(foo: Int, bar: String)(implicit ev0: Ev0, ev1: Ev1, ) } |
| 45 | + ^ |
| 46 | +trailing-commas.scala:18: error: ':' expected but '}' found. |
| 47 | +trait ClassParams2 { final class C(foo: Int, bar: String)(implicit ev0: Ev0, ev1: Ev1, ) } |
| 48 | + ^ |
| 49 | +trailing-commas.scala:20: error: illegal start of simple expression |
| 50 | +trait SimpleExpr { (23, "bar", ) } |
| 51 | + ^ |
| 52 | +trailing-commas.scala:20: error: ')' expected but '}' found. |
| 53 | +trait SimpleExpr { (23, "bar", ) } |
| 54 | + ^ |
| 55 | +trailing-commas.scala:22: error: identifier expected but ']' found. |
| 56 | +trait TypeArgs { def f: C[Int, String, ] } |
| 57 | + ^ |
| 58 | +trailing-commas.scala:22: error: ']' expected but '}' found. |
| 59 | +trait TypeArgs { def f: C[Int, String, ] } |
| 60 | + ^ |
| 61 | +trailing-commas.scala:23: error: identifier expected but ']' found. |
| 62 | +trait TypeParamClause { type C[A, B, ] } |
| 63 | + ^ |
| 64 | +trailing-commas.scala:23: error: ']' expected but '}' found. |
| 65 | +trait TypeParamClause { type C[A, B, ] } |
| 66 | + ^ |
| 67 | +trailing-commas.scala:24: error: identifier expected but ']' found. |
| 68 | +trait FunTypeParamClause { def f[A, B, ] } |
| 69 | + ^ |
| 70 | +trailing-commas.scala:24: error: ']' expected but '}' found. |
| 71 | +trait FunTypeParamClause { def f[A, B, ] } |
| 72 | + ^ |
| 73 | +trailing-commas.scala:26: error: identifier expected but ')' found. |
| 74 | +trait SimpleType { def f: (Int, String, ) } |
| 75 | + ^ |
| 76 | +trailing-commas.scala:26: error: ')' expected but '}' found. |
| 77 | +trait SimpleType { def f: (Int, String, ) } |
| 78 | + ^ |
| 79 | +trailing-commas.scala:27: error: identifier expected but ')' found. |
| 80 | +trait FunctionArgTypes { def f: (Int, String, ) => Boolean } |
| 81 | + ^ |
| 82 | +trailing-commas.scala:27: error: ')' expected but '}' found. |
| 83 | +trait FunctionArgTypes { def f: (Int, String, ) => Boolean } |
| 84 | + ^ |
| 85 | +trailing-commas.scala:29: error: illegal start of simple pattern |
| 86 | +trait SimplePattern { val (foo, bar, ) = null: Any } |
| 87 | + ^ |
| 88 | +trailing-commas.scala:31: error: identifier expected but '}' found. |
| 89 | +trait ImportSelectors { import foo.{ Ev0, Ev1, } } |
| 90 | + ^ |
| 91 | +trailing-commas.scala:33: error: identifier expected but '}' found. |
| 92 | +trait Import { import foo.Ev0, foo.Ev1, } |
| 93 | + ^ |
| 94 | +trailing-commas.scala:35: error: illegal start of simple pattern |
| 95 | +trait ValDcl { val foo, bar, = 23 } |
| 96 | + ^ |
| 97 | +trailing-commas.scala:35: error: '=' expected but '}' found. |
| 98 | +trait ValDcl { val foo, bar, = 23 } |
| 99 | + ^ |
| 100 | +trailing-commas.scala:36: error: illegal start of simple pattern |
| 101 | +trait VarDcl { var foo, bar, = 23 } |
| 102 | + ^ |
| 103 | +trailing-commas.scala:36: error: '=' expected but '}' found. |
| 104 | +trait VarDcl { var foo, bar, = 23 } |
| 105 | + ^ |
| 106 | +trailing-commas.scala:37: error: illegal start of simple pattern |
| 107 | +trait VarDef { var foo, bar, = _ } |
| 108 | + ^ |
| 109 | +trailing-commas.scala:37: error: '=' expected but '}' found. |
| 110 | +trait VarDef { var foo, bar, = _ } |
| 111 | + ^ |
| 112 | +trailing-commas.scala:38: error: illegal start of simple pattern |
| 113 | +trait PatDef { val Foo(foo), Bar(bar), = bippy } |
| 114 | + ^ |
| 115 | +trailing-commas.scala:38: error: '=' expected but '}' found. |
| 116 | +trait PatDef { val Foo(foo), Bar(bar), = bippy } |
| 117 | + ^ |
| 118 | +trailing-commas.scala:45: error: illegal start of simple expression |
| 119 | +trait SimpleExpr2 { (23, ) } |
| 120 | + ^ |
| 121 | +trailing-commas.scala:45: error: ')' expected but '}' found. |
| 122 | +trait SimpleExpr2 { (23, ) } |
| 123 | + ^ |
| 124 | +trailing-commas.scala:48: error: identifier expected but ')' found. |
| 125 | +trait SimpleType2 { def f: (Int, ) } |
| 126 | + ^ |
| 127 | +trailing-commas.scala:48: error: ')' expected but '}' found. |
| 128 | +trait SimpleType2 { def f: (Int, ) } |
| 129 | + ^ |
| 130 | +43 errors found |
0 commit comments