fun test() { val a = if (true) { val x = 1 ({ x }) } else { { 2 } } TypeOf(a): TypeOf> } class TypeOf(t: T)