|
| 1 | +-- [E188] Syntax Error: tests/neg/i18090.scala:2:18 -------------------------------------------------------------------- |
| 2 | +2 |def foo(using xs: Int*) = xs // error |
| 3 | + | ^^^^ |
| 4 | + | repeated parameters are not allowed in a using clause |
| 5 | + | |
| 6 | + | longer explanation available when compiling with `-explain` |
| 7 | +-- [E188] Syntax Error: tests/neg/i18090.scala:3:27 -------------------------------------------------------------------- |
| 8 | +3 |def foo5(using d: Int, xs: Int*) = xs // error |
| 9 | + | ^^^^ |
| 10 | + | repeated parameters are not allowed in a using clause |
| 11 | + | |
| 12 | + | longer explanation available when compiling with `-explain` |
| 13 | +-- [E188] Syntax Error: tests/neg/i18090.scala:4:22 -------------------------------------------------------------------- |
| 14 | +4 |def foo2(implicit xs: Int*) = xs // error |
| 15 | + | ^^^^ |
| 16 | + | repeated parameters are not allowed in a implicit clause |
| 17 | + | |
| 18 | + | longer explanation available when compiling with `-explain` |
| 19 | +-- [E188] Syntax Error: tests/neg/i18090.scala:5:35 -------------------------------------------------------------------- |
| 20 | +5 |def foo3(u: Int)(using d: Int, xs: Int*) = xs // error |
| 21 | + | ^^^^ |
| 22 | + | repeated parameters are not allowed in a using clause |
| 23 | + | |
| 24 | + | longer explanation available when compiling with `-explain` |
| 25 | +-- [E188] Syntax Error: tests/neg/i18090.scala:6:38 -------------------------------------------------------------------- |
| 26 | +6 |def foo4(u: Int)(implicit d: Int, xs: Int*) = xs // error |
| 27 | + | ^^^^ |
| 28 | + | repeated parameters are not allowed in a implicit clause |
| 29 | + | |
| 30 | + | longer explanation available when compiling with `-explain` |
| 31 | +-- [E188] Syntax Error: tests/neg/i18090.scala:9:20 -------------------------------------------------------------------- |
| 32 | +9 | def bar(using xs: Float*) = ??? // error |
| 33 | + | ^^^^^^ |
| 34 | + | repeated parameters are not allowed in a using clause |
| 35 | + | |
| 36 | + | longer explanation available when compiling with `-explain` |
| 37 | +-- [E188] Syntax Error: tests/neg/i18090.scala:10:33 ------------------------------------------------------------------- |
| 38 | +10 | def bar2(using d: Boolean, xs: Float*) = ??? // error |
| 39 | + | ^^^^^^ |
| 40 | + | repeated parameters are not allowed in a using clause |
| 41 | + | |
| 42 | + | longer explanation available when compiling with `-explain` |
0 commit comments