hmm I’m getting “This cast can never succeed” warn...
# kotlin-native
n
hmm I’m getting “This cast can never succeed” warnings while building with Gradle and also in IDE. I’m casting between
String
and
NSString
(in both directions). Seems to be working fine in runtime too. The docs confirm that’s the way to go. Are these false positives?
1.3.61
a
https://youtrack.jetbrains.com/issue/KT-30959 You can suppress this warning.
👍 1
n
thanks for referencing the issue!
sure I can
245 Views