[dmd-beta] D2 2.058 beta

Martin Nowak dawg at dawgfoto.de
Sun Feb 12 23:08:33 PST 2012


On Mon, 13 Feb 2012 02:07:33 +0100, Walter Bright <walter at digitalmars.com>  
wrote:

> I agree. We need to revert this, and add all the new failures into the  
> test suite, so any future attempt at this won't screw it up again.
>
> On 2/11/2012 12:52 PM, Martin Nowak wrote:
>> I've posted a pull request.
>> https://github.com/D-Programming-Language/dmd/pull/710
>>
>> This is extremely unlucky to roll this back so late.
>> I will have a further look at it tomorrow to see how we can
>> fix this with the least possible friction.
>>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta

OK, there is one more fix for the remaining minor regression.
https://github.com/D-Programming-Language/dmd/pull/713

The core issue to get imports right is that we add a lot of private symbols
to a module which in turn causes module interferences due to the access  
vs. visible behavior.
Christian got around that by not adding the symbols and handling them  
during symbol search instead.

If we shift to hiding protected symbols we can fix import AND protection.
It would also get rid of those incomprehensible symbol collisions and  
reduce module conflicts.
Some care is required with base class lookup and overloading.
Do you see any further issues with that approach?


More information about the dmd-beta mailing list