http://d.puremagic.com/issues/show_bug.cgi?id=314



--- Comment #22 from Don <clugd...@yahoo.com.au> 2010-08-12 07:09:34 PDT ---
(In reply to comment #21)
> In my understanding, "import std.stdio : writefln;" only imports the name
> "writefln", not "std" and "writefln". If the user wants "std", he has to write
> "static import std.stdio;". I would assume your example is invalid and is
> expected to fail.
> 
> Why would the user do "import std.stdio : writefln;" if he doesn't use 
> writefln
> directly? Is "std.stdio.writefln" the only name he's supposed to be able to 
> use
> here? If yes, what the hell is the use of that?

It's invalid code. But you should never see TOKxxx in an error message. It
indicates something is fouled up.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to