--- Comment #10 from Stewart Gordon <s...@iname.com> 2012-02-04 06:15:31 PST ---
(In reply to comment #9)
> It has nothing to do with appending, but the fact that for T the compiler
> has to choose to append an empty array as a T or a T, and it does this
> checking implicit conversions, which pass incorrectly.
cast(T)  is a T, simple as that. So the bug is that, in this situation,
for some perverted reason an implicit conversion match is chosen over an exact
match. Removing the implicit conversions stops this bug from biting, but I can
imagine there being other places where it might still be an issue.
I'm finding it puzzling that changing a method in ArrayLiteralExp would alter
the implicit conversions of a CastExpression. But if it works, so be it.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------