is there anything that can be done within IDEA to ...
# multiplatform
k
is there anything that can be done within IDEA to prevent it from showing errors related to iOS SDK bindings that are caused by "overlapping" method signatures (it shows as an incorrect return type)?
that is to say, the types are matching but the argument names differ
t
Add
@Suppress("CONFLICTING_OVERLOADS")
to the class
To override different methods with clashing Kotlin signatures, you can add a @Suppress("CONFLICTING_OVERLOADS") annotation to the class.
k
thanks. unfortunately that doesn't work.
t
Could you share some code to better understand your issue?
k
t
Not sure why that is happening. I am getting the error as well. Maybe someone else knows a solution.
k
thanks for trying 🙂
s