Join Slack
Powered by
Could we list all kotlin-compiler warnings as stri...
# stdlib
v
voddan
06/07/2017, 12:19 PM
Could we list all kotlin-compiler warnings as string constants somewhere in stdlib? So that instead of
@suppress("UNCHECKED_CAST")
one would write
@suppress(Warnings.UNCHECKED_CAST)
. Apart from eliminating typing errors, it would greatly help with discoverability.
2
Views
Open in Slack
Previous
Next