Fixing cyclic import static construction problems

Tove tove at fransson.se
Fri Nov 30 06:29:19 PST 2012


On Friday, 30 November 2012 at 14:09:48 UTC, foobar wrote:
> Why not simplify?
>
> static this()
> {
> import std.stdio, a, c; // existing syntax
>    ...
> }
>
> static this()
> { // no imports -> no dependencies
>    ...
> }
>
> The current behavior should just be dropped.

+2
Simple & Elegant.



More information about the Digitalmars-d mailing list