HaxeFoundation / HaxeFoundation/haxe
Add Compiler.forbidPackage() / allow for more complex package rules
Open
enhancement
standard library
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
...to support forbidding access to `js.html` in hxnodejs (now possible thanks to #7894).
This would also mean extending package rules to work with subpackages - right now `--remap`, `--macro allowPackage()` etc only seem to work with top-level packages. Things like "what's the most specific rule that matches" would have to be considered, rather than just having a simple `PMap.find`.
Contributor guide
Assessment
This issue has not been assessed yet.