[Issue 15857] incorrect checkimports mismatch for overload sets

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 5 13:41:46 PDT 2016


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

--- Comment #4 from Martin Nowak <code at dawg.eu> ---
(In reply to Jacob Carlborg from comment #3)
> I guess since this is currently only a deprecation it isn't _that_ bad.
> Would it be realistic to fix the bug before it's turned in to a real error?

We'll remove the option when the old import rules have been deprecated.
But sure we can try to add it later, in particular b/c __traits(isSame) doesn't
work either.

> What is considered equality for a symbol, the fully qualified name? Can that
> be used instead of comparing identity?

Comparing overload sets is a bit more complex, they are created during lookup
and depend on the imported modules.

> Is there a workaround that I can use?

None that I'm aware of.

--


More information about the Digitalmars-d-bugs mailing list