[Issue 13808] Scoped import in struct body hijacks UFCS

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 2 08:02:30 PST 2014


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

--- Comment #3 from hsteoh at quickfur.ath.cx ---
Workaround for std.datetime:

https://github.com/D-Programming-Language/phobos/pull/2780

This is not a complete fix, as there are a bunch of other scoped imports as
well, and it would take quite a bit more effort to sort all of them out. :-( In
any case, it's probably better if we address this in the compiler instead of
putting workarounds into every library that uses scoped imports at the
struct/class level.

--


More information about the Digitalmars-d-bugs mailing list