Supported inline function for expression body case

This commit is contained in:
Valentin Kipyatkov
2016-10-19 22:16:59 +03:00
parent 67e5ed802f
commit 57411b4d5e
16 changed files with 202 additions and 3 deletions
@@ -0,0 +1,10 @@
fun <caret>foo(p1: String, p2: () -> Boolean) = bar(p1, null, p2)
fun bar(p1: String, p2: String?, p3: () -> Boolean)
fun foo(i: I) {
foo("foo") {
println("bar")
println("baz")
}
}