reflaxe.GDScript icon indicating copy to clipboard operation
reflaxe.GDScript copied to clipboard

Nested type collections are not supported

Open NQNStudios opened this issue 3 months ago • 3 comments

A haxe type-annotation of Array<Array<String>> will generate Array[Array[String]] in GDScript, but GDScript won't support a nested type. It gives an error,

Nested typed collections are not supported.

If I change the haxe type to Array<Dynamic> the GDScript will have Array[Variant] and be okay. Is there a way in reflaxe to automatically get rid of the nested type in the generated annotation?

NQNStudios avatar Oct 30 '25 21:10 NQNStudios