February 23, 2014 [dmd-internals] [D-Programming-Language/dmd] 94446a: [cleanup] fix indent style | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 94446a83f9c3fb27fa66d7695521fdc981135615 https://github.com/D-Programming-Language/dmd/commit/94446a83f9c3fb27fa66d7695521fdc981135615 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M src/template.c Log Message: ----------- [cleanup] fix indent style Commit: c61275a0175bf042e358741ef5df0fc3ea1a5ffc https://github.com/D-Programming-Language/dmd/commit/c61275a0175bf042e358741ef5df0fc3ea1a5ffc Author: k-hara <k.hara.pg@gmail.com> Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M src/template.c M src/template.h M test/runnable/template9.d Log Message: ----------- fix Issue 2025 - Inconsistent rules for instantiating templates with a tuple parameter 1. Adjust matching level for issue cases. a. `TemplateTupleParameter::matchArg` should always return `MATCHconvert` in order to have the lower priority than other non-tuple templates. b. `TemplateTypeParameter::matchArg` and `TemplateAliasParameter::matchArg` should return same match level (== MATCHconvert) for aggregate types. c. In leastAsSpecialized comparison, aggregate types should prefer template type parameter. For that, `TemplateAliasParameter::matchArg` should match to `tdummy`. 2. Add "dependent template parameter" concept Their `matchArg` should return binary result - match or nomatch, in order to follow the match level of the corresponding precedent parameter. Commit: 422bf8d8dc4c92ca86f301176c6592a1c1673b72 https://github.com/D-Programming-Language/dmd/commit/422bf8d8dc4c92ca86f301176c6592a1c1673b72 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M test/runnable/template9.d Log Message: ----------- fix Issue 1659 - template alias parameters are chosen over all but exact matches. Commit: 60ae588765a7dd41a69eb80efc092bf2554850fc https://github.com/D-Programming-Language/dmd/commit/60ae588765a7dd41a69eb80efc092bf2554850fc Author: k-hara <k.hara.pg@gmail.com> Date: 2014-02-20 (Thu, 20 Feb 2014) Changed paths: M src/template.c M test/runnable/template9.d Log Message: ----------- fix Issue 12077 - Instantiated type does not match to the specialized alias parameter Commit: 46832fbc8dd04521c6af22f6fdbf0e490a7e861a https://github.com/D-Programming-Language/dmd/commit/46832fbc8dd04521c6af22f6fdbf0e490a7e861a Author: Walter Bright <walter@walterbright.com> Date: 2014-02-23 (Sun, 23 Feb 2014) Changed paths: M src/template.c M src/template.h M test/runnable/template9.d Log Message: ----------- Merge pull request #3210 from 9rnsr/fix12077 Issue 12077 - Instantiated type does not match to the specialized alias parameter Compare: https://github.com/D-Programming-Language/dmd/compare/cfa49e6e83a7...46832fbc8dd0 |
Copyright © 1999-2021 by the D Language Foundation