fun bar(): dynamic = TODO() fun foo() { val x = bar() if (x is String) { val y = x } }