Partial body resolve filter: more correct lambda resolve for return

This commit is contained in:
Valentin Kipyatkov
2014-11-20 13:10:33 +03:00
parent 59cc441fc5
commit 4503adb7fc
4 changed files with 37 additions and 18 deletions
@@ -0,0 +1,3 @@
Resolve target: value-parameter val p: kotlin.String? smart-cast to kotlin.String
Skipped statements:
println()
@@ -0,0 +1,9 @@
fun foo(p: String?): () -> String {
if (p == null) {
return {
println()
"a"
}
}
<caret>p.size
}