ok. I read too much into the classcast exception message, then.
m
Marc Knaup
12/06/2018, 7:00 PM
its a bug in the compiler I guess
m
Mike
12/06/2018, 7:08 PM
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
Marc Knaup
12/06/2018, 7:12 PM
Copy code
service.CityName cannot be cast to java.lang.String