[Issue 8366] Overriding const member function in conjunction with mutable overload causes a strange error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 6 15:05:52 PST 2013


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



--- Comment #8 from github-bugzilla at puremagic.com 2013-03-06 15:05:44 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/de9e8b3073aa3abc2bb93d5482a7dcbe66aab92c
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.

https://github.com/D-Programming-Language/dmd/commit/2cab1b0c852e7f86f9553940ab8441c7efee31f4
Merge pull request #1042 from 9rnsr/fix8366

Issue 8366 - Overriding const member function in conjunction with mutable
overload causes a strange error

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