I'd like to use an Array with type in C#.
I tried building the following code in Haxe 4.0.5, but hoges is an Array<object> in C#. (I wanted Array<Hoge>)
class ArrayTest
{
public var hoges: Array<Hoge>;
}
class Hoge
{
public var x: Int;
public var y: Int;
public var z: Int;
}
I found the following post on github and understand that this behavior is a spec to make the code faster. https://github.com/HaxeFoundation/haxe/issues/5434#issuecomment-230581990.
However, I'm hoping it comes with a type because I want to use this code as an interface. Are there any workarounds?