March 23, 2014 [dmd-internals] [D-Programming-Language/dmd] 4c9724: fix Issue 12382 - `opDollar` can't be used at CT | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: 4c97247132864c2dea65f6743392261c90ec8ac0 https://github.com/D-Programming-Language/dmd/commit/4c97247132864c2dea65f6743392261c90ec8ac0 Author: k-hara <k.hara.pg@gmail.com> Date: 2014-03-18 (Tue, 18 Mar 2014) Changed paths: M src/dsymbol.c M src/expression.c M src/expression.h M src/opover.c M test/runnable/opover2.d Log Message: ----------- fix Issue 12382 - `opDollar` can't be used at CT Front-end should handle opDollar side-effect carefully, because CTFE engine cannot interpret `(auto __dollar = obj.opDollar(), obj).opIndex(__dollar)` without CTFE stack. Commit: efe0e45fecfa2b324ae382e77e6456a419abc657 https://github.com/D-Programming-Language/dmd/commit/efe0e45fecfa2b324ae382e77e6456a419abc657 Author: Walter Bright <walter@walterbright.com> Date: 2014-03-23 (Sun, 23 Mar 2014) Changed paths: M src/dsymbol.c M src/expression.c M src/expression.h M src/opover.c M test/runnable/opover2.d Log Message: ----------- Merge pull request #3385 from 9rnsr/fix12382 Issue 12382 - `opDollar` can't be used at CT Compare: https://github.com/D-Programming-Language/dmd/compare/7d19a26a579b...efe0e45fecfa |
Copyright © 1999-2021 by the D Language Foundation