add test to verify output files; correctly handle lambdas

This commit is contained in:
Dmitry Jemerov
2014-12-08 12:51:08 +01:00
parent 052c0e60a4
commit 0512b8ce1a
6 changed files with 116 additions and 1 deletions
@@ -0,0 +1,2 @@
org/demo/coverage/Foo
org/demo/coverage/Foo$bar$1
@@ -0,0 +1,12 @@
package org.demo.coverage
public class Foo {
public fun forEach(fn: (Any?) -> Unit): Unit {
}
public fun bar() {
forEach {
println("foo")
}
}
}