May 30, 2012 [dmd-internals] [D-Programming-Language/dmd] a13f8d: Fix issue 4967 member default initializers not wor... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: a13f8d15b1f91ddece6e49c627925a386674ed7c https://github.com/D-Programming-Language/dmd/commit/a13f8d15b1f91ddece6e49c627925a386674ed7c Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-05-29 (Tue, 29 May 2012) Changed paths: M src/init.c M test/compilable/compile1.d Log Message: ----------- Fix issue 4967 member default initializers not working in static struct initializers If a member has an initializer, use it in prefence to the initializer for the type. Commit: 56e101cb56f27295f51dc86f5310fbe0227af5f7 https://github.com/D-Programming-Language/dmd/commit/56e101cb56f27295f51dc86f5310fbe0227af5f7 Author: Walter Bright <walter@walterbright.com> Date: 2012-05-30 (Wed, 30 May 2012) Changed paths: M src/init.c M test/compilable/compile1.d Log Message: ----------- Merge pull request #968 from donc/structinit4967 4967 member default initializers not working in static struct initializers Compare: https://github.com/D-Programming-Language/dmd/compare/07af203...56e101c |
Copyright © 1999-2021 by the D Language Foundation