April 09, 2012 [dmd-internals] [D-Programming-Language/dmd] 88bf66: fix Issue 7871 - RangeViolation with findSplitBefo... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 88bf66c5a61c85e46a862149c519d13f6b68a194 https://github.com/D-Programming-Language/dmd/commit/88bf66c5a61c85e46a862149c519d13f6b68a194 Author: k-hara <k.hara.pg@gmail.com> Date: 2012-04-09 (Mon, 09 Apr 2012) Changed paths: M src/expression.c M src/expression.h M test/runnable/xtest46.d Log Message: ----------- fix Issue 7871 - RangeViolation with findSplitBefore This is a regression caused by fixing issue 7583. When you syntaxCopy() a ast sub-tree, contained lengthVar is discarded. But it is already inserted to scope symbol table. So we should share lengthVar between all copy of syntax trees instead of creating new one. Commit: 6888809e505e3fed42089a35153702854918009d https://github.com/D-Programming-Language/dmd/commit/6888809e505e3fed42089a35153702854918009d Author: Walter Bright <walter@walterbright.com> Date: 2012-04-09 (Mon, 09 Apr 2012) Changed paths: M src/expression.c M src/expression.h M test/runnable/xtest46.d Log Message: ----------- Merge pull request #871 from 9rnsr/fix7871 Issue 7871 - RangeViolation with findSplitBefore Compare: https://github.com/D-Programming-Language/dmd/compare/d06e17d...6888809 |
Copyright © 1999-2021 by the D Language Foundation