HaxeFoundation / HaxeFoundation/haxe
Classpath order and init macro execution order for haxelib dependencies
Open
documentation
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.