January 04, 2013 [dmd-internals] [D-Programming-Language/dmd] 3a0368: fix Issue 9254 - ICE on invalid foreach aggregate | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 3a036842048beba5543f98c054b9fa30a1910c17 https://github.com/D-Programming-Language/dmd/commit/3a036842048beba5543f98c054b9fa30a1910c17 Author: k-hara <k.hara.pg@gmail.com> Date: 2013-01-03 (Thu, 03 Jan 2013) Changed paths: M src/statement.c A test/fail_compilation/ice9254a.d A test/fail_compilation/ice9254b.d A test/fail_compilation/ice9254c.d Log Message: ----------- fix Issue 9254 - ICE on invalid foreach aggregate ForeachRangeStatement and WhileStatement are basically replaced into ForStatement in semantic phase. If any error occurs, they will be left as is, however. Therefor, `assert(0)` in blockExit, usesEH, comeFrom have the potential to be invoked. Commit: f762d5920e5b0b03753bfa3aab82c71ec90cb876 https://github.com/D-Programming-Language/dmd/commit/f762d5920e5b0b03753bfa3aab82c71ec90cb876 Author: Walter Bright <walter@walterbright.com> Date: 2013-01-04 (Fri, 04 Jan 2013) Changed paths: M src/statement.c A test/fail_compilation/ice9254a.d A test/fail_compilation/ice9254b.d A test/fail_compilation/ice9254c.d Log Message: ----------- Merge pull request #1430 from 9rnsr/fix9254 Issue 9254 - ICE on invalid foreach aggregate Compare: https://github.com/D-Programming-Language/dmd/compare/28a095dde0b3...f762d5920e5b |
Copyright © 1999-2021 by the D Language Foundation