You're quite right, Chris. I think this is just a bad cut-and-paste from the distant past and was never symptomatic, but definitely is wrong.
-- lg
On Jan 16, 2010, at 2:50 PM, Chris Foster wrote:
The chunk of code between the '{' and '}' is just C++ (mostly, except for the $ markers of course). Looking at this, the line
TypeSpec t (simple, t.is_closure());
doesn't make any sense to me, since it appears to use t before it's constructed. (Why does this even compile elsewhere? Maybe there's another variable t in the scope?)
To me it seems this should be
TypeSpec t (simple, false);
since the metadata can never be a closure. I'm not an expert though (not by any means!); does this sound right guys?