Would it make sense for Kotlin to provide constant...
# language-proposals
h
Would it make sense for Kotlin to provide constant array literals? E.g.
const val arrayLiteral = ["books", "default"]
could then be used in an annotation like
@CacheConfig(cacheNames = arrayLiteral)
.
👍 1
m
It is actively considered topic under name "collection literals"
h
thanks!
would have been useful 🙂