On Fri, 30 Nov 2012 14:29:19 -0000, Tove <[email protected]> wrote:

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.

-2
Confusing. What is the scope of the import? How does it interact with imports above/below the static this?

R

--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Reply via email to