Fix #2529: explicit protection package #3651
Jonathan M Davis via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Aug 19 12:05:09 PDT 2014
On Tuesday, 19 August 2014 at 17:11:19 UTC, Dicebot wrote:
> On Tuesday, 19 August 2014 at 17:08:25 UTC, Walter Bright wrote:
>> On 8/19/2014 7:01 AM, Dicebot wrote:
>> > Walter, now that release is out can you please state your
>> opinion about
>> > https://github.com/D-Programming-Language/dmd/pull/3651 ? It
>> is blocking Phobos
>> > module split and decoupling.
>>
>> I keep thinking there's gotta be a way to do this without
>> language changes.
>
> Any specific ideas? I can't imagine any clean solution - and
> proposed language extensions fits naturally into existing
> system without introducing any new concepts. It is also
> somewhat frequently asked about in NG.
Yeah, I don't see how this could be done without a language
change. Currently, modules in sub-packages are treated no
differently from modules in completely different packages, so
anything you did to give access to a module in a super-package to
one in a sub-package would give access to any module.
- Jonathan M Davis
More information about the Digitalmars-d-announce
mailing list