[Issue 2339] Inconsistent behaviour referring to template mixin member at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 23 10:38:38 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2339


matti.niemenmaa+dbugzilla at iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal




------- Comment #3 from matti.niemenmaa+dbugzilla at iki.fi  2009-04-23 12:38 -------
Well, at least there was some use in spending time on this now: I realized the
obvious workaround, which makes it get parsed correctly. While the following
doesn't work:

static assert (Check!(mixin("FooMixin.x")));

The following does:

static assert (mixin("Check!(FooMixin.x")));

Lowered severity to "normal" as this is now no longer a blocker for me.


-- 



More information about the Digitalmars-d-bugs mailing list