[IR] add testdata for dumpKotlinLike
This commit is contained in:
committed by
teamcityserver
parent
d2022ab115
commit
8d5facb15f
@@ -0,0 +1,14 @@
|
||||
fun test1(b: Boolean) {
|
||||
when {
|
||||
b -> return Unit
|
||||
true -> false
|
||||
} /*~> Unit */
|
||||
}
|
||||
|
||||
fun test2(b: Boolean) {
|
||||
when {
|
||||
b -> true
|
||||
true -> return Unit
|
||||
} /*~> Unit */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user