[Issue 15857] incorrect checkimports mismatch for overload sets

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Apr 17 08:44:31 PDT 2016


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
I found a minimal test case to be able to see the message "Deprecation: local
import search method found overloadset ... instead of overloadset ..."

template Mix15857(T)
{
    void foo15857(T) {}
}
mixin Mix15857!int;
mixin Mix15857!string;

void test15857()
{
    foo15857(1);
}

(This is using template mixin instead of module import to reduce test files)

However yet I'm not sure it will actually fix the original problem.

https://github.com/dlang/dmd/pull/5681

--


More information about the Digitalmars-d-bugs mailing list