Join Slack
Powered by
```val foo: String? = null (foo as CharSequence).l...
# announcements
i
ion
12/01/2017, 12:23 AM
Copy code
val foo: String? = null (foo as CharSequence).lastIndex
Why doesn't Kotlin warn that this cast might cause a NullPointerException? (The correct cast should be
CharSequence?
)
4
Views
Open in Slack
Previous
Next