mercredi 21 septembre 2016

Kotlin class literals with empty left hand side are not yet supported?

I am trying to check if a type conforms to a another type with an if expression like so:

if (String::class is String::class)

This gives me the error class literals with empty left hand side are not yet supported. Can anyone elaborate on that error and/or tell me how I should be doing this check?





Aucun commentaire:

Enregistrer un commentaire