nkiesel
02/23/2017, 10:54 PMString
in val name: String by map
. Given that the map value type is Any?
in my example, perhaps compiler should only allow Any?
as property type. This would fix these problems (I would have to use Map<String, String>
) but of course prevents the "mixed property type" usage.