December 06, 2012 [dmd-internals] [D-Programming-Language/dmd] 93a019: Fix issue 7790 [CTFE] assignment to AA apply ref a... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 93a019d5b10dc0fdc207912d8311a7498bad0e6b https://github.com/D-Programming-Language/dmd/commit/93a019d5b10dc0fdc207912d8311a7498bad0e6b Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2012-12-05 (Wed, 05 Dec 2012) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Fix issue 7790 [CTFE] assignment to AA apply ref argument 1. IndexExp: Stop copying the AA whenever it is indexed (This was horrific for performance, as well as being wrong). 2. aaApply: If the value is 'ref', create a reference to the value. Commit: 20e3ff2172b06e5798ba6c1925a4682ff61e8070 https://github.com/D-Programming-Language/dmd/commit/20e3ff2172b06e5798ba6c1925a4682ff61e8070 Author: Martin Nowak <dawg@dawgfoto.de> Date: 2012-12-06 (Thu, 06 Dec 2012) Changed paths: M src/interpret.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #1351 from donc/ctfe7790aa_ref 7790 CTFE wrong code for AA foreach ref Compare: https://github.com/D-Programming-Language/dmd/compare/7853b9292765...20e3ff2172b0 |
Copyright © 1999-2021 by the D Language Foundation