April 18, 2015 [dmd-internals] [D-Programming-Language/dmd] cb1b81: fix Issue 14424 - dmd crashes with __traits(getUni... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: cb1b813ebf6ded1135e46cc0de9229d9e6b5926d https://github.com/D-Programming-Language/dmd/commit/cb1b813ebf6ded1135e46cc0de9229d9e6b5926d Author: k-hara <k.hara.pg@gmail.com> Date: 2015-04-18 (Sat, 18 Apr 2015) Changed paths: M src/func.c A test/fail_compilation/ice14424.d A test/fail_compilation/imports/a14424.d Log Message: ----------- fix Issue 14424 - dmd crashes with __traits(getUnitTests) It was necessary to avoid excessive semantic3 with -unittest -inline (see commit 474e0d24191b0a964b38eae2ee5ba5eb972131b5), but today compiler incrementally runs semantic3 of the candidate functions for inlining (see commit df11f21be6873a944ee32cc3a664dd84387999b9). Therefore the hack is not necessary anymore. Commit: 5f2bfa062e1741389d64fe7be78af06f8c4d415f https://github.com/D-Programming-Language/dmd/commit/5f2bfa062e1741389d64fe7be78af06f8c4d415f Author: Andrei Alexandrescu <andrei@erdani.com> Date: 2015-04-18 (Sat, 18 Apr 2015) Changed paths: M src/func.c A test/fail_compilation/ice14424.d A test/fail_compilation/imports/a14424.d Log Message: ----------- Merge pull request #4593 from 9rnsr/fix14424 [REG2.066] Issue 14424 - dmd crashes with __traits(getUnitTests) Compare: https://github.com/D-Programming-Language/dmd/compare/5bad2acc86f1...5f2bfa062e17 |
Copyright © 1999-2021 by the D Language Foundation