[Issue 1747] class to base interface static cast is incorrect in some cases

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 19 01:08:38 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=1747

--- Comment #9 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5cefffdfd8dca40403674e9c12b990a17e40aaa9
fix Issue 1747 - class to base interface static cast is incorrect in some cases

A class to base interface conversion is always static cast (offset is
idetermined at compile time).

Also refactor e2ir.c code and add comment to describe what happens there.

https://github.com/D-Programming-Language/dmd/commit/f78b25c9fb00bf024cd1d6e394f696bba4f2187b
Merge pull request #4819 from 9rnsr/fix1747_2013

Issue 1747 & 2013 - class/interface cast is incorrect in some cases

--


More information about the Digitalmars-d-bugs mailing list