April 03, 2013 [dmd-internals] [D-Programming-Language/dmd] 544112: Improve 'is used as a type' template error | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 54411210de5a0ea30bfb06268ec6698d9ac92f79 https://github.com/D-Programming-Language/dmd/commit/54411210de5a0ea30bfb06268ec6698d9ac92f79 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-04-02 (Tue, 02 Apr 2013) Changed paths: M src/mtype.c M src/template.c M test/fail_compilation/test8556.d Log Message: ----------- Improve 'is used as a type' template error If a template instantiation fails, a spurious 'XXX is used as a type' error is generated. Suppress it. Also, when a constraint fails, change the instantiation error into a supplemental error message. Commit: 5f818821a262f50a55bca8534c942eb8e0ef073f https://github.com/D-Programming-Language/dmd/commit/5f818821a262f50a55bca8534c942eb8e0ef073f Author: Walter Bright <walter@walterbright.com> Date: 2013-04-03 (Wed, 03 Apr 2013) Changed paths: M src/mtype.c M src/template.c M test/fail_compilation/test8556.d Log Message: ----------- Merge pull request #1799 from donc/isusedasatype Supress spurious 'is used as a type' template error message Compare: https://github.com/D-Programming-Language/dmd/compare/4ee92d0a47a6...5f818821a262 |
Copyright © 1999-2021 by the D Language Foundation