i was trying to make a map of classes, but when i try to add here the one that have abstract
option, it say that i can’t use abstract
as value, so is there any way to fix it?
map is created like that:
var map:Map<String, Dynamic>;
i was trying to make a map of classes, but when i try to add here the one that have abstract
option, it say that i can’t use abstract
as value, so is there any way to fix it?
map is created like that:
var map:Map<String, Dynamic>;
Abstract is a compile-time feature and is not available as a class at runtime (see here), so that’s likely the problem. If you post a little more code someone might have a better idea of how to help further.
© 2018-2020 Haxe Foundation - Powered by Discourse