blob: bb72cf378f3796f0d0f74d734d0bff9056050da7 (
plain) (
tree)
|
|
object Test {
// okay
(1 * (List[BigInt]().map(((x0) => x0 match {
case x => x
})).sum))
// okay
((1: BigInt) * (List[BigInt]().map({
case x => x
}).sum))
// fail
(1 * (List[BigInt]().map({
case x => x
}).sum))
}
|