[D-runtime] [D-Programming-Language/druntime] 2473c2: fix issue 10720 - ICE with is(aaOfNonCopyableStruc...

GitHub noreply at github.com
Thu Aug 1 00:49:19 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 2473c2204180be54d35bcd099b09949f13025199
      https://github.com/D-Programming-Language/druntime/commit/2473c2204180be54d35bcd099b09949f13025199
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2013-07-29 (Mon, 29 Jul 2013)

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

  Log Message:
  -----------
  fix issue 10720 - ICE with is(aaOfNonCopyableStruct.nonExistingField)

AA.dup should be disabled if Value type is not copyable.
The root cause was the use of Value.init. Built-in `init` property makes
rvalue, therefore the 'static if' condition did not properly test
'copyable' trait of Value type.


  Commit: ee1eb100a7c0c283d798d4e4913d6472f1c50443
      https://github.com/D-Programming-Language/druntime/commit/ee1eb100a7c0c283d798d4e4913d6472f1c50443
  Author: Martin Nowak <code at dawg.eu>
  Date:   2013-08-01 (Thu, 01 Aug 2013)

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

  Log Message:
  -----------
  Merge pull request #554 from 9rnsr/fix10720

issue 10720 - ICE with is(aaOfNonCopyableStruct.nonExistingField)


Compare: https://github.com/D-Programming-Language/druntime/compare/b50ab02a74da...ee1eb100a7c0


More information about the D-runtime mailing list