On Tue, Mar 21, 2017 at 05:56:33PM +0000, StarGrazer via Digitalmars-d wrote:
> One problem with ctfe's is that the compiler is a bit ignorant.
[...]

The reason for this is that pragma(msg) is not a CTFE construct, but an
AST construct.  It is evaluated when the compiler is building the
abstract syntax tree of the code, and discarded thereafter. CTFE does
not even see pragma(msg)'s.

More details here:

http://forum.dlang.org/post/mailman.1113.1489778027.31550.digitalmars-d-le...@puremagic.com


T

-- 
Lottery: tax on the stupid. -- Slashdotter

Reply via email to