HaxeFoundation / HaxeFoundation/haxe-evolution
[PROPOSAL] Making package statement optional
Open
- Dominant language
- No language data
- Stars
- 119
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
The package statement at the top of the file has always felt superfluous to me. The compiler already knows the package the file should have from the directory path it walked to find it.
I propose that when the package statement is missing the haxe compiler will automatically assign a package generated from the module's file path.
I'd like to know the general sentiment on this, I'll write formal proposal PR if it makes sense.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.