``` fun foo(): Pair<Int, String> { ...
# intellij
v
Copy code
fun foo(): Pair<Int, String> {
        return if (bar1()) {
            Pair(1, "1")
        } else {
            if (bar2()) {
                Pair(2, "2") // is there a warning I can enable here, that this is not being used?
            }

            // ...

            Pair(3, "3")
        }
    }