[D-runtime] [D-Programming-Language/druntime] 047002: rename TypeInfo's init method to initializer

GitHub via D-runtime d-runtime at puremagic.com
Tue Dec 29 13:16:01 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 04700217971964fdc8edb1798eaa669ec37fa7e9
      https://github.com/D-Programming-Language/druntime/commit/04700217971964fdc8edb1798eaa669ec37fa7e9
  Author: anonymous <aG0aep6G at users.noreply.github.com>
  Date:   2015-12-01 (Tue, 01 Dec 2015)

  Changed paths:
    M changelog.dd
    M src/core/demangle.d
    M src/core/exception.d
    M src/core/sync/mutex.d
    M src/core/thread.d
    M src/gc/gc.d
    M src/object.d
    M src/rt/aaA.d
    M src/rt/deh.d
    M src/rt/lifetime.d
    M src/rt/sections_elf_shared.d
    M src/rt/tracegc.d
    M src/rt/typeinfo/ti_C.d
    M src/rt/typeinfo/ti_byte.d
    M src/rt/typeinfo/ti_cdouble.d
    M src/rt/typeinfo/ti_cent.d
    M src/rt/typeinfo/ti_cfloat.d
    M src/rt/typeinfo/ti_char.d
    M src/rt/typeinfo/ti_creal.d
    M src/rt/typeinfo/ti_dchar.d
    M src/rt/typeinfo/ti_delegate.d
    M src/rt/typeinfo/ti_double.d
    M src/rt/typeinfo/ti_float.d
    M src/rt/typeinfo/ti_int.d
    M src/rt/typeinfo/ti_long.d
    M src/rt/typeinfo/ti_ptr.d
    M src/rt/typeinfo/ti_real.d
    M src/rt/typeinfo/ti_short.d
    M src/rt/typeinfo/ti_ubyte.d
    M src/rt/typeinfo/ti_ucent.d
    M src/rt/typeinfo/ti_uint.d
    M src/rt/typeinfo/ti_ulong.d
    M src/rt/typeinfo/ti_ushort.d
    M src/rt/typeinfo/ti_void.d
    M src/rt/typeinfo/ti_wchar.d
    M src/rt/util/container/common.d

  Log Message:
  -----------
  rename TypeInfo's init method to initializer

"init" clashes with the type property of the same name.

Adding an alias called "init" to give people a chance to update their
code.

Further deprecation plan:
* 2.071: Do nothing. Keep both init and initializer functional for a while.
* 2.072: Deprecate the alias.
* 2.073: Replace the alias with an `@disable`d method.
* 2.074: Remove the init method, fixing issue 12233.


  Commit: 2ff148b674616a33761bd14fc1e9344d77bdcb19
      https://github.com/D-Programming-Language/druntime/commit/2ff148b674616a33761bd14fc1e9344d77bdcb19
  Author: Steven Schveighoffer <schveiguy at yahoo.com>
  Date:   2015-12-29 (Tue, 29 Dec 2015)

  Changed paths:
    M changelog.dd
    M src/core/demangle.d
    M src/core/exception.d
    M src/core/sync/mutex.d
    M src/core/thread.d
    M src/gc/gc.d
    M src/object.d
    M src/rt/aaA.d
    M src/rt/deh.d
    M src/rt/lifetime.d
    M src/rt/sections_elf_shared.d
    M src/rt/tracegc.d
    M src/rt/typeinfo/ti_C.d
    M src/rt/typeinfo/ti_byte.d
    M src/rt/typeinfo/ti_cdouble.d
    M src/rt/typeinfo/ti_cent.d
    M src/rt/typeinfo/ti_cfloat.d
    M src/rt/typeinfo/ti_char.d
    M src/rt/typeinfo/ti_creal.d
    M src/rt/typeinfo/ti_dchar.d
    M src/rt/typeinfo/ti_delegate.d
    M src/rt/typeinfo/ti_double.d
    M src/rt/typeinfo/ti_float.d
    M src/rt/typeinfo/ti_int.d
    M src/rt/typeinfo/ti_long.d
    M src/rt/typeinfo/ti_ptr.d
    M src/rt/typeinfo/ti_real.d
    M src/rt/typeinfo/ti_short.d
    M src/rt/typeinfo/ti_ubyte.d
    M src/rt/typeinfo/ti_ucent.d
    M src/rt/typeinfo/ti_uint.d
    M src/rt/typeinfo/ti_ulong.d
    M src/rt/typeinfo/ti_ushort.d
    M src/rt/typeinfo/ti_void.d
    M src/rt/typeinfo/ti_wchar.d
    M src/rt/util/container/common.d

  Log Message:
  -----------
  Merge pull request #1403 from aG0aep6G/TypeInfo.initializer

rename TypeInfo's init method to initializer


Compare: https://github.com/D-Programming-Language/druntime/compare/4ed3b721cc9c...2ff148b67461


More information about the D-runtime mailing list