April 17, 2015 [dmd-internals] [D-Programming-Language/dmd] 1800d0: [Refactoring] Deal with cd->aggrNew before cd->cto... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 1800d07c6655c90d887c223462b16f7baaa7c438 https://github.com/D-Programming-Language/dmd/commit/1800d07c6655c90d887c223462b16f7baaa7c438 Author: k-hara <k.hara.pg@gmail.com> Date: 2015-04-12 (Sun, 12 Apr 2015) Changed paths: M src/expression.c Log Message: ----------- [Refactoring] Deal with cd->aggrNew before cd->ctor It affects to the order of diagnostic messages. Commit: 07dfd7edc5556e361b431757bb3c2aa1d601116e https://github.com/D-Programming-Language/dmd/commit/07dfd7edc5556e361b431757bb3c2aa1d601116e Author: k-hara <k.hara.pg@gmail.com> Date: 2015-04-12 (Sun, 12 Apr 2015) Changed paths: M src/expression.c Log Message: ----------- [Refactoring] Type new-ed object size argument as Type::tsize_t Actually it's not an issue so the `IntegerExp` type is immediately modified in functionParameters() to match the allocator parameter type `tsize_t`, but had looked like questionable code. Commit: c8481e5ade15af91d39fc3cdf0cf1a6270b2403f https://github.com/D-Programming-Language/dmd/commit/c8481e5ade15af91d39fc3cdf0cf1a6270b2403f Author: k-hara <k.hara.pg@gmail.com> Date: 2015-04-12 (Sun, 12 Apr 2015) Changed paths: M src/expression.c M src/nogc.c A test/fail_compilation/fail14407.d A test/fail_compilation/imports/a14407.d M test/fail_compilation/nogc1.d Log Message: ----------- fix Issue 14407 - No protection and attributes check for class/struct allocator in NewExp Commit: ca346f2511a24e3ebfb1b5e7088fd3d616709bbc https://github.com/D-Programming-Language/dmd/commit/ca346f2511a24e3ebfb1b5e7088fd3d616709bbc Author: Walter Bright <walter@walterbright.com> Date: 2015-04-17 (Fri, 17 Apr 2015) Changed paths: M src/expression.c M src/nogc.c A test/fail_compilation/fail14407.d A test/fail_compilation/imports/a14407.d M test/fail_compilation/nogc1.d Log Message: ----------- Merge pull request #4555 from 9rnsr/fix14407 Issue 14407 - No protection and attributes check for class/struct allocator in NewExp Compare: https://github.com/D-Programming-Language/dmd/compare/42b94b6d07d9...ca346f2511a2 |
Copyright © 1999-2021 by the D Language Foundation