Annoying warning on parameters when overriding methods

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 Likes

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

2 Likes

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.

2 Likes

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

6 Likes