[FE 1.0] Correctly set USED_AS_EXPRESSION for unreachable when and if blocks
^KT-50028 Fixed
This commit is contained in:
committed by
teamcity
parent
7bcd3c7948
commit
df2e9e3797
@@ -1,6 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STRANGE_IMPLICIT_CAST
|
||||
|
||||
fun kt49182(x: Boolean): String {
|
||||
return if (x) {
|
||||
return "O"
|
||||
@@ -23,4 +20,4 @@ fun box(): String {
|
||||
exit()
|
||||
}
|
||||
return a
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user