[Issue 5679] Type aliasing "this" from an access function defined in base class confuses the compiler about the type of objects

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 1 00:47:47 PDT 2012


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2012-06-01 00:49:34 PDT ---
(In reply to comment #1)
> After changing
> class Derived: public Base {
> by
> class Derived: Base {
> in line 15 to remove the deprecation error, the sample compiles and runs fine
> on 2.059.

This issue was unintentionally fixed in 2.059, but appears in 2.060head again.

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

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