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

Boris Carvajal <[email protected]> changed:

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

--- Comment #1 from Boris Carvajal <[email protected]> ---
I remember this issue, the problem is that the compiler has a different logic
to resolve a qualified type vs a dot expression, mixin is not required to
reproduce it:

struct A
{
    alias a = test.c.C; // works
    auto b = test.c.C; // fails even if C is a variable
}

Currently this kind of mixin can parse both types and expressions but it will
prefer expressions, so it's hitting the wall.
I'll try to see what can I do.

--

Reply via email to