fun foo(x: Int) {} fun bar() { foo(if (true) 1 else 2) }