1c1e8f7beb
so that local function enter node can be visited by FIR CFA #KT-42814 Fixed
22 lines
277 B
Kotlin
Vendored
22 lines
277 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
fun foo(arg: Boolean) {
|
|
val x : Int
|
|
if (arg) {
|
|
x = 4
|
|
} else {
|
|
x = 2
|
|
}
|
|
|
|
x.hashCode()
|
|
|
|
class Local {
|
|
fun bar() {
|
|
x.hashCode()
|
|
}
|
|
}
|
|
|
|
fun local(): Int {
|
|
return x.hashCode()
|
|
}
|
|
}
|