On 08/06/14 17:37, Dicebot via Digitalmars-d wrote: While proposed change is very small (and backwards-compatible)
and not worth separate DIP, it is still a language change and needs community approval.
Looks cool to me. :-)
For example, if helpers in std.internal will be marked as package, only std.internal will be able to access those, but not rest of std. This PR fixes it by allowing package(<pkgname>) syntax to explicitly define owning package.
Is it possible to permit multiple packages access in this way? For example, package(std.math, std.random) void foo() { ... }