Which suppression do I need to silence "No cast needed"? (Don't ask why I need it 😄)
j
Jeff Lockhart
07/20/2023, 5:00 PM
@Suppress("USELESS_CAST")
v
Vampire
07/20/2023, 6:31 PM
Perfect, thanks
j
Jeff Lockhart
07/20/2023, 6:33 PM
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. 😄