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