DIP 50 - AST macros

Dicebot public at dicebot.lv
Mon Nov 18 07:59:00 PST 2013


On Monday, 18 November 2013 at 09:12:19 UTC, Timon Gehr wrote:
> Well, you could do:
>
> @screwUp int foo(){ return 3+7; }
>
> assert(foo()!=10);

Anything that allows it routinely should be banned whenever 
macros are accepted or not. Modifying existing "normal" symbols = 
no way.


More information about the Digitalmars-d mailing list