Function should have 'operator' modifier

Last modified: 03 December 2024

Reports a function that matches one of the operator conventions but lacks the operator keyword.

By adding the operator modifier, you might allow function consumers to write idiomatic Kotlin code.

Example:

The quick-fix adds the operator modifier keyword: