[dmd-internals] [D-Programming-Language/dmd] 0e8ae4: Fix issue 8422 TypeTuple of tuples can't be read a...

GitHub noreply at github.com
Thu Sep 13 22:13:37 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 0e8ae4524b12421312e80507e434405c2422fa45
      https://github.com/D-Programming-Language/dmd/commit/0e8ae4524b12421312e80507e434405c2422fa45
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-08-26 (Sun, 26 Aug 2012)

  Changed paths:
    M src/statement.c
    M test/compilable/compile1.d

  Log Message:
  -----------
  Fix issue 8422 TypeTuple of tuples can't be read at compile time

A tuple foreach over a struct literal, or an array literal, should be considered
to be a const assignment, just as foreach over a numeric or string literal is.
The struct literal should not be considered to be an lvalue.


  Commit: 800e85d48b1811005dde9b992ffd19f02c048973
      https://github.com/D-Programming-Language/dmd/commit/800e85d48b1811005dde9b992ffd19f02c048973
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-09-12 (Wed, 12 Sep 2012)

  Changed paths:
    M test/compilable/compile1.d

  Log Message:
  -----------
  Extra test case (array literals) for bug 8422


  Commit: 165667223d4c4a99b530fe603df8d81e2fc7dd59
      https://github.com/D-Programming-Language/dmd/commit/165667223d4c4a99b530fe603df8d81e2fc7dd59
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-09-13 (Thu, 13 Sep 2012)

  Changed paths:
    M src/statement.c
    M test/compilable/compile1.d

  Log Message:
  -----------
  Merge pull request #1095 from donc/ctfe8422tuple_of_literals

Fix issue 8422 TypeTuple of tuples can't be read at compile time


Compare: https://github.com/D-Programming-Language/dmd/compare/74671e810845...165667223d4c


More information about the dmd-internals mailing list