DIP 50 - AST macros

Rikki Cattermole alphaglosined at gmail.com
Mon Nov 11 02:58:51 PST 2013


On Monday, 11 November 2013 at 10:55:23 UTC, Jacob Carlborg wrote:
> The current example prints out the exact expression what was 
> passed to the assert macro. Not the result of evaluating the 
> expression. I don't see how this can currently be done in D

I made a suggestion regarding a macro able to get scoped 
variables from initiation point with Linq. And why that would be 
a good thing. This is another use case for it. Perhaps add it as 
a use case for having that feature on the DIP?


More information about the Digitalmars-d mailing list