newCTFE Status September 2019

Stefan Koch uplink.coder at googlemail.com
Fri Sep 13 08:29:56 UTC 2019


On Thursday, 12 September 2019 at 20:25:12 UTC, Oleg B wrote:
> Great work!
>
> Will newCTFE able to work in -betterC mode? By now CTFE engine 
> have some limitations at this point: 
> https://forum.dlang.org/thread/djmdhhcuwaroznpkfjis@forum.dlang.org?page=1

It's possible but highly unlikely.
BetterC throws the error when the function goes through SemA 
(semantic analysis) before ctfe can get to evaluating the 
functions.

Changing that would require a special pre-codegen pass And would 
be a really invasive change.


More information about the Digitalmars-d mailing list