December 06, 2012 [dmd-internals] [D-Programming-Language/dmd] 058a16: Fix issue 9113 ICE(interpret.c): CTFE assignment t... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 058a16cdbbe9c32cd75b2a1ea2dbfb8a0bcc45d3 https://github.com/D-Programming-Language/dmd/commit/058a16cdbbe9c32cd75b2a1ea2dbfb8a0bcc45d3 Author: Don Clugston <don.clugston@sociomantic.com> Date: 2012-12-05 (Wed, 05 Dec 2012) Changed paths: M src/expression.c M test/compilable/interpret3.d Log Message: ----------- Fix issue 9113 ICE(interpret.c): CTFE assignment to member of struct in union The ICE was caused by the error being detected too late. Move the "needs 'this' pointer" error message from e2ir.c into semantic, instead of creating an invalid expression. Commit: 930b44e9e5a38340e2aec22b9595883c5507e152 https://github.com/D-Programming-Language/dmd/commit/930b44e9e5a38340e2aec22b9595883c5507e152 Author: Martin Nowak <dawg@dawgfoto.de> Date: 2012-12-06 (Thu, 06 Dec 2012) Changed paths: M src/expression.c M test/compilable/interpret3.d Log Message: ----------- Merge pull request #1350 from donc/ctfe9113ice_structunion 9113 ICE(interpret.c): CTFE assignment to member of struct in union Compare: https://github.com/D-Programming-Language/dmd/compare/20e3ff2172b0...930b44e9e5a3 |
Copyright © 1999-2021 by the D Language Foundation