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

Max Samukha <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Max Samukha <[email protected]> ---
How are imported symbols different than other symbols introduced by a mixin?

mixin template baz()
{
    void func() {}
}

void func()
{

}

struct B
{
    mixin baz;
    void foo()
    {
         func();   // oops, baz.func hijacked .func
    }

}

--

Reply via email to