FIR checker: reproduce KT-42348

This commit is contained in:
Jinseong Jeon
2020-09-30 23:06:51 -07:00
committed by Dmitriy Novozhilov
parent be84110ada
commit a154cf4c45
6 changed files with 50 additions and 0 deletions
@@ -0,0 +1,16 @@
fun foo(arg: Boolean) {
val x : Int
if (arg) {
x = 4
} else {
x = 2
}
x.hashCode()
class Local {
fun bar() {
x.hashCode()
}
}
}