GDC doesn't catch this ambiguity
Mike
none at none.com
Sat Jan 11 23:39:23 PST 2014
On Saturday, 11 January 2014 at 23:12:52 UTC, Mike wrote:
> On Saturday, 11 January 2014 at 12:39:59 UTC, Iain Buclaw wrote:
>>> On 11 January 2014 01:13, Mike <none at none.com> wrote:
>>> GDC doesn't catch the ambiguity between...
>>> static nothrow pure void Write(A...)(A a)
>>> and
>>> static nothrow pure void Write(in string text)
>>> ... but LDC does.
>>>
>>> Who's right?
>
>> GDC is on 2.064.2, which uses a newer frontend than LDC.
>
> So is difference in frontends the reason for the difference
> between the two compilers in this case?
I'm guess this changed explains the difference.
http://dlang.org/changelog.html#template_overload_set
More information about the D.gnu
mailing list