https://kotlinlang.org logo
#language-evolution
Title
# language-evolution
s

stantronic

03/28/2022, 3:13 PM
Could compile-time operations on raw strings ever be allowed for constants - e.g.
Copy code
const val rawString = """
    this
    is
    a
    raw string
""".trimIndent()
is currently an error. But could it be changed at compile time to the equivalent of
Copy code
const val rawString = "this\nis\na\nraw string"
s

stantronic

03/28/2022, 7:29 PM
Awesome! thanks 🙂
3 Views