[NI] Resolve function literals in block as lambda expression
This commit is contained in:
committed by
Stanislav Erokhin
parent
08964006de
commit
c45f86a2fc
+8
@@ -0,0 +1,8 @@
|
||||
fun box(): String {
|
||||
val p: (String) -> Boolean = if (true) {
|
||||
{ true }
|
||||
} else {
|
||||
{ true }
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user