Let's give it a whirl.
On 2/12/2012 11:08 PM, Martin Nowak wrote:
On Mon, 13 Feb 2012 02:07:33 +0100, Walter Bright <[email protected]>
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
[email protected]
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?
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta