[Issue 2962] ICE(glue.c) or bad codegen passing variable as template value parameter
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 13 02:54:54 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2962
--- Comment #21 from Don <clugdbug at yahoo.com.au> 2009-10-13 02:54:53 PDT ---
This is really tough, it's an order-of-evaluation issue.
When generating the code for a template, which has a local variable as an alias
parameter, the alias parameter MUST be created before the code for template is.
But I have no idea how the order of code generation is supposed to be enforced.
It seems to always get it right if everything is in the same file.
--
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