val z = 30 val x: Int if (true) { fun foo() = z + 20 x = foo() } x // expected: 50