[Issue 4514] Regression: Cannot cast from X* to X

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 27 11:04:30 PDT 2010


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



--- Comment #3 from Leandro Lucarella <llucax at gmail.com> 2010-07-27 11:04:29 PDT ---
(In reply to comment #1)
> Since "this" doesn't appear in the code, I'd doubt that that's the cause.

I don't know how the compiler internals deals with this, but the error appears
in a method, taking the address/delegate of other method, so "this" exists,
even if implicit. And D2 works, which is consisten with this theory.

But again, I'm just talking out of ignorance because I don't know the compiler
internals, it was just a hint.

-- 
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