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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 28 08:56:27 PDT 2012


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid
           Platform|x86_64                      |All
            Summary|[2.060 beta] cannot         |[Regression 2.058] cannot
                   |implicitly convert          |implicitly convert
                   |expression (vs1.opCast())   |expression (vs1.opCast())
                   |of type const(Vector2D) to  |of type const(Vector2D) to
                   |object.Object               |object.Object
         OS/Version|Windows                     |All


--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2012-07-28 08:56:25 PDT ---
(In reply to comment #2)
> It's trying to call opCast!(Object) when comparing two objects.
> This "regression" was introduced with 2.058.
> 
> But not everyone agrees it a regression:
> http://lists.puremagic.com/pipermail/dmd-beta/2012-February/001274.html
> and
> http://lists.puremagic.com/pipermail/dmd-beta/2012-February/001276.html

Wow, it had been reported in dmd-internal ML with 2.058 beta? I didn't noticed
it.

OK. I agree this is an actual regression, and it should be fixed as far as
possible.

https://github.com/D-Programming-Language/dmd/pull/1068

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list