July 19, 2015 [dmd-internals] [D-Programming-Language/dmd] 1378b1: Refactor: Rename BaseClass::base to sym | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 1378b1c8566cebc065b12fbc43b5821daef9ba9e https://github.com/D-Programming-Language/dmd/commit/1378b1c8566cebc065b12fbc43b5821daef9ba9e Author: k-hara <k.hara.pg@gmail.com> Date: 2015-07-18 (Sat, 18 Jul 2015) Changed paths: M src/access.c M src/aggregate.h M src/class.c M src/doc.c M src/func.c M src/json.c M src/template.c M src/tocvdebug.c M src/toobj.c M src/traits.c Log Message: ----------- Refactor: Rename BaseClass::base to sym When I see such the code `b->base`, it looks very confusing. I think `b->sym` is much better. Commit: 5cefffdfd8dca40403674e9c12b990a17e40aaa9 https://github.com/D-Programming-Language/dmd/commit/5cefffdfd8dca40403674e9c12b990a17e40aaa9 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-07-19 (Sun, 19 Jul 2015) Changed paths: M src/class.c M src/e2ir.c M test/runnable/interface2.d Log Message: ----------- 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. Commit: 2c28cecaf5a19b60a4e06865b5dbc558043be089 https://github.com/D-Programming-Language/dmd/commit/2c28cecaf5a19b60a4e06865b5dbc558043be089 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-07-19 (Sun, 19 Jul 2015) Changed paths: M src/aggregate.h M src/class.c M test/runnable/interface2.d Log Message: ----------- fix Issue 2013 - interface to interface dynamic cast is incorrect in some cases For the runtime cast behavior, also requires fixing a druntime internal function `_d_isbaseof2()` in `druntime/src/rt/cast_.d`. Commit: 023a3ae05aecffb4707f58776bb298bb065ec1c0 https://github.com/D-Programming-Language/dmd/commit/023a3ae05aecffb4707f58776bb298bb065ec1c0 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-07-19 (Sun, 19 Jul 2015) Changed paths: M src/class.c Log Message: ----------- Add a todo comment about the interface to base interface upcast Commit: f78b25c9fb00bf024cd1d6e394f696bba4f2187b https://github.com/D-Programming-Language/dmd/commit/f78b25c9fb00bf024cd1d6e394f696bba4f2187b Author: Rainer Schuetze <r.sagitario@gmx.de> Date: 2015-07-19 (Sun, 19 Jul 2015) Changed paths: M src/access.c M src/aggregate.h M src/class.c M src/doc.c M src/e2ir.c M src/func.c M src/json.c M src/template.c M src/tocvdebug.c M src/toobj.c M src/traits.c M test/runnable/interface2.d Log Message: ----------- Merge pull request #4819 from 9rnsr/fix1747_2013 Issue 1747 & 2013 - class/interface cast is incorrect in some cases Compare: https://github.com/D-Programming-Language/dmd/compare/80a326e0fcc8...f78b25c9fb00 |
Copyright © 1999-2021 by the D Language Foundation