Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 0d930c9e9e0ad45dbcd5d876ff9ef66ae5d1c4b7
      
https://github.com/D-Programming-Language/dmd/commit/0d930c9e9e0ad45dbcd5d876ff9ef66ae5d1c4b7
  Author: k-hara <[email protected]>
  Date:   2013-10-15 (Tue, 15 Oct 2013)

  Changed paths:
    M src/class.c
    M test/runnable/test42.d

  Log Message:
  -----------
  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.


  Commit: a95bbf4642e349fffea5a567157a4599ceb96ab9
      
https://github.com/D-Programming-Language/dmd/commit/a95bbf4642e349fffea5a567157a4599ceb96ab9
  Author: Walter Bright <[email protected]>
  Date:   2013-10-15 (Tue, 15 Oct 2013)

  Changed paths:
    M src/class.c
    M test/runnable/test42.d

  Log Message:
  -----------
  Merge pull request #2670 from 9rnsr/fix11265

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


Compare: 
https://github.com/D-Programming-Language/dmd/compare/f2a0a8a46995...a95bbf4642e3
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to