[dmd-internals] [D-Programming-Language/dmd] 9ee798: Relax opAssign signature.

GitHub noreply at github.com
Sun Oct 7 09:14:45 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 9ee798f73a2f7765a68bbe8f40ff292f551dab72
      https://github.com/D-Programming-Language/dmd/commit/9ee798f73a2f7765a68bbe8f40ff292f551dab72
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M src/class.c
    M src/clone.c
    M src/func.c
    M src/struct.c
    A test/fail_compilation/class1.d
    A test/fail_compilation/class2.d

  Log Message:
  -----------
  Relax opAssign signature.

Class type that has identity opAssign is disallowed both it is templated or not.


  Commit: b9896d14766fe5a067cf84d0d2c21418dfb35676
      https://github.com/D-Programming-Language/dmd/commit/b9896d14766fe5a067cf84d0d2c21418dfb35676
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M src/declaration.c
    M src/expression.c
    M src/mtype.c
    M src/mtype.h
    M test/runnable/assignable.d

  Log Message:
  -----------
  fix Issue 6216 - Built-in opAssign implicitly defined should call field's opAssign

Separate 'top assignable' (see opAssign first) from 'blit assignable' (memberwise), and now they are not related to 'modifiable' directly.


  Commit: 959e2f09934e73b66bc9859b52315fbaeadfbef6
      https://github.com/D-Programming-Language/dmd/commit/959e2f09934e73b66bc9859b52315fbaeadfbef6
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M test/runnable/assignable.d

  Log Message:
  -----------
  fix issue 4424 - Copy constructor and templated opAssign cannot coexist


  Commit: b10781e6abe9472a6f327601daa870b180660128
      https://github.com/D-Programming-Language/dmd/commit/b10781e6abe9472a6f327601daa870b180660128
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    R test/fail_compilation/fail7695.d
    M test/runnable/assignable.d

  Log Message:
  -----------
  fix Issue 6336 - Can't return ref T where T has const/immutable members

Remove fail7695.d, because it was incorrectly failed to compile by bug 6336.


  Commit: 9553d0c66337b477375cb77743defcdd79b8064d
      https://github.com/D-Programming-Language/dmd/commit/9553d0c66337b477375cb77743defcdd79b8064d
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2012-10-06 (Sat, 06 Oct 2012)

  Changed paths:
    M src/declaration.c
    M src/declaration.h
    M src/expression.c
    M src/expression.h
    M src/statement.c
    M test/runnable/assignable.d

  Log Message:
  -----------
  fix Issue 6174 - Initialize const fixed-size array in constructor

Improve checking of whether an expression is modifiable.
If an expression is *initializing*, that is part of construction, then it bypass type check.


  Commit: 5b42e51481d186ee5e3c2684a237a05cea33a0cf
      https://github.com/D-Programming-Language/dmd/commit/5b42e51481d186ee5e3c2684a237a05cea33a0cf
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2012-10-07 (Sun, 07 Oct 2012)

  Changed paths:
    M src/class.c
    M src/clone.c
    M src/declaration.c
    M src/declaration.h
    M src/expression.c
    M src/expression.h
    M src/func.c
    M src/mtype.c
    M src/mtype.h
    M src/statement.c
    M src/struct.c
    A test/fail_compilation/class1.d
    A test/fail_compilation/class2.d
    R test/fail_compilation/fail7695.d
    M test/runnable/assignable.d

  Log Message:
  -----------
  Merge pull request #166 from 9rnsr/relax_opAssign_sig

Isue 4424 & 6216 Relax opAssign signature


Compare: https://github.com/D-Programming-Language/dmd/compare/045f5c90dd14...5b42e51481d1


More information about the dmd-internals mailing list