July 15, 2013 [dmd-internals] [D-Programming-Language/dmd] 8c5cce: fix Issue 10141 - wrong error message with Tuple!(... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 8c5cce3e6ffd63ad3af23caf2e15ea7a3eabeea5 https://github.com/D-Programming-Language/dmd/commit/8c5cce3e6ffd63ad3af23caf2e15ea7a3eabeea5 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-07-13 (Sat, 13 Jul 2013) Changed paths: M src/declaration.c A test/fail_compilation/diag10141.d A test/fail_compilation/imports/diag10141a.d A test/fail_compilation/imports/diag10141b.d Log Message: ----------- fix Issue 10141 - wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)" Essentially it's bad code if it branches based on the condition `global.errors != 0`. Commit: 390a9340cad6f9c44757cd4782792b08d95a56ba https://github.com/D-Programming-Language/dmd/commit/390a9340cad6f9c44757cd4782792b08d95a56ba Author: Don Clugston <dclugston@googlemail.com> Date: 2013-07-15 (Mon, 15 Jul 2013) Changed paths: M src/declaration.c A test/fail_compilation/diag10141.d A test/fail_compilation/imports/diag10141a.d A test/fail_compilation/imports/diag10141b.d Log Message: ----------- Merge pull request #2346 from 9rnsr/fix10141 Issue 10141 - wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)" Compare: https://github.com/D-Programming-Language/dmd/compare/359f62f3155b...390a9340cad6 |
Copyright © 1999-2021 by the D Language Foundation