[K2] isUsedAsExpression analysis
This commit is contained in:
committed by
teamcity
parent
d9701c71b7
commit
f765457e51
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
fun test() {
|
||||
<expr>when (val a = 42) {
|
||||
else -> {
|
||||
use("")
|
||||
foo()
|
||||
}
|
||||
}</expr>
|
||||
}
|
||||
|
||||
fun use(s: String) {}
|
||||
|
||||
fun foo() {}
|
||||
Reference in New Issue
Block a user