March 06, 2014 [dmd-internals] [D-Programming-Language/dmd] 0ddf82: fix Issue 9112 - Uniform construction for built-in... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 0ddf824ff02c181ac9b8b4fc9abc843a1e3cc6f1 https://github.com/D-Programming-Language/dmd/commit/0ddf824ff02c181ac9b8b4fc9abc843a1e3cc6f1 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M src/e2ir.c M src/expression.c M src/parse.c A test/runnable/uniformctor.d Log Message: ----------- fix Issue 9112 - Uniform construction for built-in types Support syntax T(), T(v), and new T(v) for basic type T Commit: f0f206568e903c001faca77c3611c6e14317a19e https://github.com/D-Programming-Language/dmd/commit/f0f206568e903c001faca77c3611c6e14317a19e Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M src/expression.c Log Message: ----------- Use defaultInitLiteral It is more direct conversion than using typeDotExp(loc, t, Id::init). And for scalar types, there is no difference. So this will just shorten compilation pathway. Commit: 6a18f2523e8338d20a359416baf7ab8ccb47d39d https://github.com/D-Programming-Language/dmd/commit/6a18f2523e8338d20a359416baf7ab8ccb47d39d Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-03 (Mon, 03 Mar 2014) Changed paths: M src/parse.c M test/runnable/uniformctor.d Log Message: ----------- Added small parser fix Commit: 17917a2be2929e33fefbca3384a23521b2ff65f0 https://github.com/D-Programming-Language/dmd/commit/17917a2be2929e33fefbca3384a23521b2ff65f0 Author: Walter Bright <walter@walterbright.com> Date: 2014-03-06 (Thu, 06 Mar 2014) Changed paths: M src/e2ir.c M src/expression.c M src/parse.c A test/runnable/uniformctor.d Log Message: ----------- Merge pull request #1356 from 9rnsr/uniform_ctor Issue 9112 - Uniform construction for built-in types Compare: https://github.com/D-Programming-Language/dmd/compare/529efe78a478...17917a2be292 |
Copyright © 1999-2021 by the D Language Foundation