|
Scala example source code file (bug875.check)
The Scala bug875.check source codebug875.scala:3: error: no `: _*' annotation allowed here (such annotations are only allowed in arguments to *-parameters) val ys = List(1, 2, 3, xs: _*) ^ bug875.scala:6: error: no `: _*' annotation allowed here (such annotations are only allowed in arguments to *-parameters) mkList1(xs: _*) ^ bug875.scala:15: error: no `: _*' annotation allowed here (such annotations are only allowed in arguments to *-parameters) f(true, 1, xs: _*) ^ bug875.scala:16: error: no `: _*' annotation allowed here (such annotations are only allowed in arguments to *-parameters) g(1, xs:_*) ^ four errors found Other Scala examples (source code examples)Here is a short list of links related to this Scala bug875.check source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.