Closed osipxd closed 2 years ago
Thanks 🙌
Looks like there's some code style issues. Please run: ./gradlew spotlessApply apiDump
and commit the changes.
Hmm... I've added @Supress("unused")
but looks like the compiler with the flag -Werror
ignores it.
Do you know any way to ignore warnings in this code?
Hmm... I've added
@Supress("unused")
but looks like the compiler with the flag-Werror
ignores it. Do you know any way to ignore warnings in this code?
The problem is that the params aren't used. @Suppress("unused")
only suppresses the fact that function isn't used.
You can fix it by using @Suppress("unused", "UNUSED_PARAMETER")
(I think)
The problem is that the params aren't used.
@Suppress("unused")
only suppresses the fact that function isn't used.You can fix it by using
@Suppress("unused", "UNUSED_PARAMETER")
(I think)
Yes, you're right, it works.\
I thought unused
is some kind of super-class for UNUSED_PARAMETER
and UNUSED_VARIABLE
Closes #113