no, I don't use String anywhere
# announcements
m
no, I don't use String anywhere
m
ok. I read too much into the classcast exception message, then.
m
its a bug in the compiler I guess
m
Likely all the inlining that takes place, and I seem to recall that inline class has no meaning once it’s bytecode. As far as the JVM is concerned, it’s a String, or perhaps the inline function gets defined as String type, and then your code is passing a CityName. Definitely agree it appears like a bug.
m
Copy code
service.CityName cannot be cast to java.lang.String
😅 (
var cityName: CityName? = null
)