[Issue 12242] conflict error with public imports

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jul 29 07:30:24 PDT 2014


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

--- Comment #8 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Walter Bright from comment #4)
> This is not a compiler bug. It has nothing to do with 314.
> 
> The problem is that 'strip' is defined in both std.string and std.algorithm.

But their signatures don't have ambiguity. With one string argument, " af
".strip == strip(" af ") should match only to std.string.strip. So this is a
compiler bug.

--


More information about the Digitalmars-d-bugs mailing list