yeah, seems like a messy workaround though. At tha...
# random
k
yeah, seems like a messy workaround though. At that point I'd rather just: 1) make my own well-named extension that just points to the actual method and use that instead, or 2) deal with the weird capitalization
b
It's part of just Java interop, not Kotlin language itself
k
it's part of the way Kotlin is parsing method names to create properties. It really should be parsing it as
locale.iso3Country
b
Copy code
class MyLocale {
    var iso3Country: String = ""
}
I think there is no unified standard how to parse property names
There is even bigger troubles. In Java you can have method or field named
is
wich is keyword in Kotlin
k
Kotlin is parsing the property name, it's up to them to define that standard
it'd be
is
with backticks surrounding it