Closed tplunket closed 4 years ago
Thanks for the report. In fact, raw strings do string interpolation:
>>> val x = 42
>>> """$x"""
res1: kotlin.String = 42
>>> """${x}"""
res2: kotlin.String = 42
So let's keep ktSimpleInterpolation,ktComplexInterpolation
in this rule.
Dang it, that was a last-minute change after searching the docs on string interpolation. Ok I'll get that sorted. My apologies; I don't have a Kotlin install locally and am just using TeamCity.
Thanks! :)
Regarding issue #36, raw strings do not have any processing, escaping, nor interpolation in Kotlin.