[Issue 8434] [2.060 beta] cannot implicitly convert expression (vs1.opCast()) of type const(Vector2D) to object.Object

Namespace rswhite4 at googlemail.com
Sat Jul 28 04:11:49 PDT 2012


On Saturday, 28 July 2012 at 10:54:47 UTC, Kenji Hara wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=8434
>
>
>
> --- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2012-07-28 
> 03:54:44 PDT ---
> Sorry, are these code really works in 2.059?
>
> As far as I know, there is a problem around equality comparison 
> of class
> objects which have user-defined opCast. But the beginning of it 
> (2011/08/09) is
> older than 2.059 (2012/04/12 released).
>
> And, I've tried to reproduce the problem, but in 2.059, same 
> errors have
> occurred.

I could swear that this code works on my desktop pc, but now on 
my laptop it fails  with 2.059 also.
But i think that code should work, or?
And are they any workarounds?


More information about the Digitalmars-d-bugs mailing list