June 01, 2013 [dmd-internals] [D-Programming-Language/dmd] fea985: A TemplateExp cannot be a template value parameter | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: fea98583647b1f5504805b2a8d5c566301fef4b5 https://github.com/D-Programming-Language/dmd/commit/fea98583647b1f5504805b2a8d5c566301fef4b5 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/template.c Log Message: ----------- A TemplateExp cannot be a template value parameter Commit: 258d19b05068206072f155e1e52b74fa2e2bfca5 https://github.com/D-Programming-Language/dmd/commit/258d19b05068206072f155e1e52b74fa2e2bfca5 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/template.c Log Message: ----------- CTFE: non-property functions arent template values If it's still a function after property resolution, don't interpret it. (optimize(WANTinterpret) was a no-op, so this then failed later). Commit: e39bd708ae1664dd3afe5de3b96fa45c87b4afa3 https://github.com/D-Programming-Language/dmd/commit/e39bd708ae1664dd3afe5de3b96fa45c87b4afa3 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/template.c Log Message: ----------- Dont run CTFE on dotvar, dottype alias template parameters A dotvar or dottype expression might be an alias, rather than a value. Don't run CTFE in this case. Commit: 062e901a56c7ae138a673c805f4f16344de3c590 https://github.com/D-Programming-Language/dmd/commit/062e901a56c7ae138a673c805f4f16344de3c590 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-05-31 (Fri, 31 May 2013) Changed paths: M src/template.c Log Message: ----------- Don't run CTFE on template parameters It's guaranteed to fail, it's been passing only because it was a no-op. Commit: 8f0a8e41a5e4ece9420b1bc8c59630401d7f4523 https://github.com/D-Programming-Language/dmd/commit/8f0a8e41a5e4ece9420b1bc8c59630401d7f4523 Author: Walter Bright <walter@walterbright.com> Date: 2013-06-01 (Sat, 01 Jun 2013) Changed paths: M src/template.c Log Message: ----------- Merge pull request #2106 from donc/no_ctfe__for_template_alias Never run CTFE on template alias parameters Compare: https://github.com/D-Programming-Language/dmd/compare/2f029ea58509...8f0a8e41a5e4 |
Copyright © 1999-2021 by the D Language Foundation