[dmd-internals] [D-Programming-Language/dmd] dfcaed: Fix bug 10298 CTFE wrong code for struct array lit...

GitHub noreply at github.com
Fri Jun 14 21:06:05 PDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: dfcaed6cd55f5bbaa121788fbf256e07f7e47a20
      https://github.com/D-Programming-Language/dmd/commit/dfcaed6cd55f5bbaa121788fbf256e07f7e47a20
  Author: Don Clugston <emailsdontbelong at inarepository.com>
  Date:   2013-06-12 (Wed, 12 Jun 2013)

  Changed paths:
    M src/interpret.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Fix bug 10298 CTFE wrong code for struct array literal init

The elements in an array literal need to have constness
implicitly cast away when they are being slice assigned.


  Commit: 952872617f9516f34eee63ca59b27966d44c7eca
      https://github.com/D-Programming-Language/dmd/commit/952872617f9516f34eee63ca59b27966d44c7eca
  Author: Daniel Murphy <yebblies at gmail.com>
  Date:   2013-06-14 (Fri, 14 Jun 2013)

  Changed paths:
    M src/interpret.c
    M test/compilable/interpret3.d

  Log Message:
  -----------
  Merge pull request #2172 from donc/ctfe10298structarrayinit

10298 CTFE wrong code bug that Walter found


Compare: https://github.com/D-Programming-Language/dmd/compare/0c2086d15764...952872617f95


More information about the dmd-internals mailing list