I’m new to Haxe, OpenFL and dox, please be patient with me
I’m trying to generate documentation with dox for a library (there is no main class).
However I’m having trouble when including OpenFL. (Several classes in my library includes OpenFL classes).
I’m using Haxe 4.0.5, OpenFL 8.9.6 and dox 1.5.0.
Here’s my hxml:
-cp src --macro include("mylib", true) -L openfl:8.9.6 -D doc-gen --no-output -xml doc/doc.xml --next -cmd haxelib run dox -i doc -o doc/pages -in "^mylib*"
The error msg I get:
/usr/local/lib/haxe/lib/openfl/8,9,6/src/openfl/_internal/text/TextEngine.hx:132: characters 17-29 : (t : openfl._Vector.IVector<Unknown<0>>, length : Int, fixed : Bool, array : Array<Unknown<0>>) -> openfl._Vector.FloatVector should be openfl._Vector.IVector<Float> -> openfl._Vector.FloatVector
If I remove all OpenFL dependencies I have no trouble generating docs, so I think my problem is related to OpenFL? I’ve tried including just a few OpenFL classes, eg:
import openfl.utils.Object; import openfl.utils.Assets;
It works with only Object but not with Assets. I presume Assets uses TextEngine in some way?
Any help would be appreciated!