digitalmars.D.bugs - [Issue 16480] New: Local selective imports hide member functions
- via Digitalmars-d-bugs (25/25) Sep 09 2016 https://issues.dlang.org/show_bug.cgi?id=16480
https://issues.dlang.org/show_bug.cgi?id=16480 Issue ID: 16480 Summary: Local selective imports hide member functions Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: john.loughran.colvin gmail.com struct S0 { bool empty() { return false; } } struct S1 { import std.range : empty; bool empty() { return false; } } pragma(msg, typeof(S0.empty)); // bool() pragma(msg, typeof(S1.empty)); // void --
Sep 09 2016