HaxeFoundation / HaxeFoundation/haxe

Add Compiler.forbidPackage() / allow for more complex package rules

Open
#8,034 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.