https://kotlinlang.org logo
#ktor
Title
# ktor
h

Hexa

11/27/2019, 6:48 AM
what does
@Suppress("unused")
do here
Copy code
@Suppress("unused") // Referenced in application.conf
fun Application.module()
a

Animesh Sahu

11/27/2019, 7:09 AM
It just supresses warning produced in compiler which is produced when the function is not used anywhere in the application, in my case there's no warning in the compiler.
3 Views