Given this bit of Kotlin:
object OldTownRoad {
const val COWBOY_HATS = \"from Gucci\"
const val WRANGLER = \"on my booty\"
}
and this J
I forgot to see if this was an Android Studio bug. :facepalm:
It turns out that if you run the code, it runs fine. Android Studio 3.5.3 appears to be complaining needlessly.
I filed a bug report to try to get confirmation of the problem.
Many thanks to @natario, whose comment made me realize that this might be an IDE problem!