[Issue 11265] Segfault while calling instance method of class defined inside struct

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 15 12:31:58 PDT 2013


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



--- Comment #2 from github-bugzilla at puremagic.com 2013-10-15 12:31:56 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0d930c9e9e0ad45dbcd5d876ff9ef66ae5d1c4b7
fix Issue 11265 - Segfault while calling instance method of class defined
inside struct

The regression was introduced by the commit:
https://github.com/D-Programming-Language/dmd/commit/671b7c20b96b580ee1dc2b3f5e3ee66c63d079b6#diff-43282ebf5a2de5fdbcb3b5083ddf949dR147

vtbl[] calculation is essentially unrelated to the class instance size.
So, just only once initializing of vtbl[] and running semantic on member
functions is sufficient.

https://github.com/D-Programming-Language/dmd/commit/a95bbf4642e349fffea5a567157a4599ceb96ab9
Merge pull request #2670 from 9rnsr/fix11265

[REG2.064a] Issue 11265 - Segfault while calling instance method of class
defined inside struct

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