How can I make the compiler generate a warning for this unused constructor argument to stop a build that has allWarningsAsErrors? It is a multiplatform module if that matters.
Copy code
internal class MyClass(
private val myThingFactory: (String) -> String
) {
fun createMyThing(s: String): String = createMyThing(s)
}
d
dmitriy.novozhilov
07/02/2024, 1:38 PM
"Unused property" is not a compiler warning but an IDE inspection
a
ade
07/02/2024, 1:41 PM
ok, thanks, so not possible at the moment I assume