[D-runtime] [D-Programming-Language/druntime] 6fa857: fix Issue 14401 - typeid(shared X).init is empty f...

GitHub via D-runtime d-runtime at puremagic.com
Fri Apr 3 13:29:20 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 6fa857d5535d52df08fb93ae975ee864101537b0
      https://github.com/D-Programming-Language/druntime/commit/6fa857d5535d52df08fb93ae975ee864101537b0
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M src/object.di
    M src/object_.d

  Log Message:
  -----------
  fix Issue 14401 - typeid(shared X).init is empty for class types

`TypeInfo_Class` needs to override `init()` method for the `TypeInfo_Const` and its derived TypeInfo classes.


  Commit: 0b7e528433dd6b8abaee5adc171fadb84162e910
      https://github.com/D-Programming-Language/druntime/commit/0b7e528433dd6b8abaee5adc171fadb84162e910
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M src/core/thread.d
    M src/gc/gc.d
    M src/rt/lifetime.d

  Log Message:
  -----------
  Deal with the type change of typeid(ClassType).init to const(void)[]

This is a small but necessary breaking change. If a class instance contains reference type fields, the instance image must be typed as const(void)[] rather than byte[n].


  Commit: bd3f4cb2122edd1a7c107f86936c20bba15191b6
      https://github.com/D-Programming-Language/druntime/commit/bd3f4cb2122edd1a7c107f86936c20bba15191b6
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2015-04-03 (Fri, 03 Apr 2015)

  Changed paths:
    M src/core/thread.d
    M src/gc/gc.d
    M src/object.di
    M src/object_.d
    M src/rt/lifetime.d

  Log Message:
  -----------
  Merge pull request #1205 from 9rnsr/fix14401

Issue 14401 - typeid(shared X).init is empty for class types


Compare: https://github.com/D-Programming-Language/druntime/compare/fd01cdb397c5...bd3f4cb2122e


More information about the D-runtime mailing list