[K2] isUsedAsExpression analysis
This commit is contained in:
committed by
teamcity
parent
d9701c71b7
commit
f765457e51
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
fun builder(block: () -> Unit): Boolean {
|
||||
block()
|
||||
return true
|
||||
}
|
||||
|
||||
fun unitFunction() {
|
||||
return
|
||||
}
|
||||
|
||||
fun test(b: Boolean) {
|
||||
builder { <expr>unitFunction()</expr> }
|
||||
}
|
||||
Reference in New Issue
Block a user