What are the possible values that can be given to `@Suppress` in Kotlin?

IntelliJ gives you nice help here:

enter image description here

Which adds @Suppress("NOTHING_TO_INLINE") to resolve the warning.

Some of the possible names of the compiler diagnostics to suppress can be found in Errors.java and DefaultErrorMessages.java i.e.:

REDUNDANT_MODIFIER, "Modifier ''{0}'' is redundant because ''{1}'' is present"

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)