[Issue 1734] Inconsistent mixin behaviour
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Feb 4 18:01:10 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=1734
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-04 18:01:08 PST ---
Worst case scenario you can still use string mixins:
string init()
{
return q{
a = 5;
};
}
void main()
{
int a;
mixin(init);
}
So it's not all bad.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list