fun doSomething(a: T) {} fun foo() { val a = true val b = false if (a && !b) { doSomething("test") } }