Marc Knaup
12/06/2018, 7:05 PMinline function with reified type parameter (an inline class) returns the right object (a CityName) and its return type is also CityName.
Yet there's a ClassCastException mentioning the type which CityName actually wraps.