Annoying warning on parameters when overriding methods


#1

Is there anyway to turn this type of warning off?

The corresponding parameter in the supertype ‘Callback’ is named ‘p0’. This may cause problems when calling this function with named arguments.


#2

Currently there's no way to turn it off, but we are working on fixing this problem


#3

I know this is old, but is there any progress on this? At this point my code is so full of these warnings that it's hard to fine the real ones.


#4

you can use following annotation - [suppress("PARAMETER_NAME_CHANGED_ON_OVERRIDE")]