proposal: @mixin functions to auto-mixin at call site

Jacob Carlborg doob at me.com
Tue Sep 3 00:27:17 PDT 2013


On 2013-09-03 07:11, monarch_dodra wrote:

> Kenji had apparently implemented this:
> https://github.com/D-Programming-Language/dmd/pull/459
>
> But pulled out. This recent thread should sum it up:
> http://forum.dlang.org/thread/yaasjclvyobpeftgwmke@forum.dlang.org
>
> Long story short, you are basically asking for macro. If we
> allowed this, than anything could actually be code injection, and
> mean anything.

Yes, this seems to be another workaround for some kind of AST macros.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list