Skip to content
Permalink
Browse files

Test case closes SI-5137.

virtpatmat strikes again.
  • Loading branch information
retronym committed May 13, 2012
1 parent 4cd0253 commit b19dfd8a59595372c1d26ab86b7376cdd4cbfc70
Showing with 17 additions and 0 deletions.
  1. +17 −0 test/files/pos/t5137.scala
@@ -0,0 +1,17 @@
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))
}

0 comments on commit b19dfd8

Please sign in to comment.
You can’t perform that action at this time.