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

Andrej Mitrovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #7 from Andrej Mitrovic <[email protected]> ---
(In reply to Kenji Hara from comment #6)
> If a 'copy' call matches only for std.file.copy, the importing of
> std.algorithm won't hijack the call. Therefore, there's *no* hijacking which
> should be prevented. We cannot disallow nonexistent hijacking.

Right, I went to re-read the docs again[1] and you're right. I guess I would
use "import a : copy" syntax more often, but I'll wait for 314 and friends to
be fixed first. :)

[1] : http://dlang.org/hijack.html

--

Reply via email to