bb0cd92da0
This used to generate an ACONST_NULL instruction leading to incorrect stack height for code such as: ``` if (condition) else 32 ```
16 lines
263 B
Kotlin
Vendored
16 lines
263 B
Kotlin
Vendored
fun foo() {
|
|
if (test.lineNumber() > 0) {
|
|
test.lineNumber()
|
|
}
|
|
|
|
if (test.lineNumber() > 0) else {
|
|
test.lineNumber()
|
|
}
|
|
|
|
if (test.lineNumber() > 0) {
|
|
test.lineNumber()
|
|
} else {
|
|
test.lineNumber()
|
|
}
|
|
}
|