[nem-en] Field initializers specification
Dmitry Ivankov
divanorama at gmail.com
Sun Mar 18 13:52:43 CET 2007
>
> Oh, looks like it should be done when body is typed (or when it is being
typed), because macros are expanded simultaneously with typing :(
Before macro expansion we can analyze
match (cond){
| true => base (1)
| _ => base()
}
but not
if (cond)
base (1)
else
base ()
Does macro.Run rely on the order of typing?
Can we expand macros just before typing whole method body?
I think
it'll be better to manipulate PExpr to inject base()/field_init than TExpr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070318/6b28356f/attachment.html
More information about the devel-en
mailing list