Which suppression do I need to silence "No cast ne...
# getting-started
v
Which suppression do I need to silence "No cast needed"? (Don't ask why I need it 😄)
j
@Suppress("USELESS_CAST")
v
Perfect, thanks
j
I run into this from time to time because of the differences between the Kotlin IDE plugin and compiler with KMP, detecting false positives. Then I need to add additionally
KotlinRedundantDiagnosticSuppress
to suppress the warning about my suppression. 😄
😄 2