Skip to content

Classpath order and init macro execution order for haxelib dependencies #8607

Description

@RealyUniqueName

I have two libs: libA and libB.
libA depends on libB. Both have init macros. I'd expect init macros of libB to be executed first, however:

$ haxe -lib libA
/home/alex/temp/test/.haxelib/liba/InitA.hx:3: Lib A
/home/alex/temp/test/.haxelib/libb/InitB.hx:3: Lib B

I think this should be changed to always execute init macros of dependencies before init macros of dependants.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions