On Tuesday, 30 July 2013 at 14:42:47 UTC, Dicebot wrote:
That I agree. My comment referred to the opinion that having two identical imports in the same scope should not compile anyway, whatever the actual reason is.

I was positive that it is intended behaviour that multiple imports do not cause an error... It says this at http://dlang.org/pretod.html#pragmaonce:

"...D does a symbolic include of import files; they only get imported once no matter how many times the import declaration appears."

Thus, I'd expect "import std.conv: to; import std.conv: to" to compile.

Reply via email to