[Issue 11524] str.strip being shadowed by std.algorithm.strip

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Nov 27 08:48:50 PST 2015


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

bb.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bb.temp at gmx.com
         Resolution|---                         |INVALID

--- Comment #1 from bb.temp at gmx.com ---
This is not a bug, see:

http://dlang.org/module.html

partcularly this specification about scoped imports:

> The imports are looked up to satisfy any unresolved symbols at that scope. Imported symbols may hide symbols from outer scopes.

which means that in case of conflict, scoped imports win.

--


More information about the Digitalmars-d-bugs mailing list