https://issues.dlang.org/show_bug.cgi?id=10378

--- Comment #31 from [email protected] ---
Ouch. That's a pretty nasty one. I suppose it's because the inner import pulls
in 'write' into a different overload set from the outer import, so the compiler
doesn't complain about the ambiguity error, even though the user did not intend
to call std.file.write (rather than std.stdio.write) here.

So unqualified local imports are still extremely dangerous... :-(

--

Reply via email to