[dmd-internals] [D-Programming-Language/dmd] 1f5be2: fix Issue 6178 - Struct inside the AA are not init...
GitHub
noreply at github.com
Sun Sep 22 13:04:19 PDT 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 1f5be26103a644b2650ae2d811edbc04c18236b7
https://github.com/D-Programming-Language/dmd/commit/1f5be26103a644b2650ae2d811edbc04c18236b7
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
Changed paths:
M src/expression.c
A test/fail_compilation/fail6178.d
M test/runnable/testaa.d
M test/runnable/xtest46.d
Log Message:
-----------
fix Issue 6178 - Struct inside the AA are not init correctly
If the AA value setting invokes opAsign method, it would need additional runtime const to distinguish construction and assignment.
Commit: fb39fd87f6919c30cf387f132bf343edd4ba0914
https://github.com/D-Programming-Language/dmd/commit/fb39fd87f6919c30cf387f132bf343edd4ba0914
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
Changed paths:
M src/expression.c
M src/interpret.c
M test/runnable/testaa.d
Log Message:
-----------
If struct does not invoke implicit constructor call, AA indexing for opAssign call should always invoke read access.
Commit: 236b84a1c69b23a19dc6fd70297a88521e54525c
https://github.com/D-Programming-Language/dmd/commit/236b84a1c69b23a19dc6fd70297a88521e54525c
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
Changed paths:
M src/expression.c
R test/fail_compilation/fail6178.d
M test/runnable/testaa.d
Log Message:
-----------
Allow AA value setting through 'alias this'
If the key does not yet exist in AA, the assignment always throws RangeError.
Commit: 0c965af287534093c0282480019b5d8749046357
https://github.com/D-Programming-Language/dmd/commit/0c965af287534093c0282480019b5d8749046357
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
Changed paths:
M test/runnable/testaa.d
Log Message:
-----------
fix Issue 10595 - Using alias this and a hash generates wrong code
Commit: 36a44cbcea9fbb18b221f77e00f2dca77f21bc88
https://github.com/D-Programming-Language/dmd/commit/36a44cbcea9fbb18b221f77e00f2dca77f21bc88
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
Changed paths:
M src/e2ir.c
M test/runnable/testaa.d
Log Message:
-----------
fix Issue 10970 - Segfault in a simple test compiled without -g.
Fixes `CondExp::toElem` to avoid "Internal error: backend\cgcs.c 351"
Commit: 26ca8f7c83808a2dd2c1f4e2a80a08ec567cac34
https://github.com/D-Programming-Language/dmd/commit/26ca8f7c83808a2dd2c1f4e2a80a08ec567cac34
Author: Walter Bright <walter at walterbright.com>
Date: 2013-09-22 (Sun, 22 Sep 2013)
Changed paths:
M src/e2ir.c
M src/expression.c
M src/interpret.c
M test/runnable/testaa.d
M test/runnable/xtest46.d
Log Message:
-----------
Merge pull request #2539 from 9rnsr/fix6178
Issue 6178 - Struct inside the AA are not init correctly
Compare: https://github.com/D-Programming-Language/dmd/compare/4981236072fc...26ca8f7c8380
More information about the dmd-internals
mailing list