summaryrefslogtreecommitdiff
path: root/test/files/run/t9387.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-9387 Fix VerifyError introduced by indylambdaJason Zaugg2015-07-091-0/+20
As with regular `Apply`-s, we should compute the generated type based on the function's type, rather than the expected type. In the test case, the expected type was void. Now, we correctly use the generated type of `scala/Function1`, which is enough to generate a subsequent POP instruction. The tree shape involved was: ``` arg0 = { { $anonfun() }; scala.runtime.BoxedUnit.UNIT } ```