On 2012-22-13 04:12, Jonathan M Davis <jmdavisp...@gmx.com> wrote:

On Wednesday, December 12, 2012 13:35:59 Walter Bright wrote:
On 12/12/2012 10:25 AM, Jonathan M Davis wrote:
> If alias this isn't do an implict conversion, then there's a bug in alias > this. That's how implict conversion is done in D, and it's the whole point
> of alias this.

And it does, as I relied on this to do the halffloat implementation.

Simen's example doesn't seem to work though, so he appears to have found a bug. Certainly, I don't see anything wrong with it, but alias this doesn't seem to work for it. Regardless, my point was that if there's a case where alias this isn't doing an implicit conversion, then it's a bug, because that's
the whole reason that it exists.

So it is supposed to work? I've always thought this was a deliberate design
choice. I guess I'll file a bug, then. Here:

http://d.puremagic.com/issues/show_bug.cgi?id=9147

Kenji, you here? :p

--
Simen

Reply via email to