Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Aug 20, 2017

Page 49, line 4...

In the next example, string would be a successful cast, but file would be null

So,

val file: File? = any as File

should be

val file: File? = any as? File

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

0 participants