On Friday, 3 May 2019 at 17:51:39 UTC, Adam D. Ruppe wrote:
On Friday, 3 May 2019 at 17:48:50 UTC, faissaloo wrote:
How can I get a mixin to implicitly include the symbols from its surrounding context? Is this possible?

What's your big picture goal? Do you have sample code you have tried so far?

Also, are you talking mixin("string") or mixin template? They work differently with symbols too.

My sample code is too big to be useful. The use of my mixin looks like:

    mixin(defState!("XEvent value;"));

But it tells me it can't find the symbol XEvent despite me having used it elsewhere.

Reply via email to