[dmd-internals] [D-Programming-Language/dmd] de9e8b: fix Issue 8366 - Overriding const member function ...
GitHub
noreply at github.com
Wed Mar 6 15:05:40 PST 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: de9e8b3073aa3abc2bb93d5482a7dcbe66aab92c
https://github.com/D-Programming-Language/dmd/commit/de9e8b3073aa3abc2bb93d5482a7dcbe66aab92c
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-01-13 (Sun, 13 Jan 2013)
Changed paths:
M src/mtype.c
M test/runnable/testconst.d
M test/runnable/xtest46.d
Log Message:
-----------
fix Issue 8366 - Overriding const member function in conjunction with mutable overload causes a strange error
We MUST kill attribute inference with const. To implement it correctly without breaking overriding and overloading features, re-scanning and arrangement of vtbl entries is needed in the end of Classdeclaration::semantic, it will decrease compile speed.
I think that is a big drawbacks than the benefit.
Commit: 2cab1b0c852e7f86f9553940ab8441c7efee31f4
https://github.com/D-Programming-Language/dmd/commit/2cab1b0c852e7f86f9553940ab8441c7efee31f4
Author: Walter Bright <walter at walterbright.com>
Date: 2013-03-06 (Wed, 06 Mar 2013)
Changed paths:
M src/mtype.c
M test/runnable/testconst.d
M test/runnable/xtest46.d
Log Message:
-----------
Merge pull request #1042 from 9rnsr/fix8366
Issue 8366 - Overriding const member function in conjunction with mutable overload causes a strange error
Compare: https://github.com/D-Programming-Language/dmd/compare/f2b02836d768...2cab1b0c852e
More information about the dmd-internals
mailing list