How to let D's one module contains lots of classes.

tcak via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 9 07:45:30 PST 2014


On Sunday, 9 November 2014 at 15:40:53 UTC, tcak wrote:
> On Sunday, 9 November 2014 at 13:17:37 UTC, AlanThinker wrote:
>
> That's good, but there is no need to add a new keyword as 
> "partial" for module I think. If compiler would just merge same 
> modules together automatically, that would do it.

Maybe this thing could open up some security issues, but if 
merging would be restricted to files in same folder, this would 
completely (99% of time) prevent problems.

* Security Issue: Same module name from a 3rd party library, etc.


More information about the Digitalmars-d mailing list