James Clark

Results 508 comments of James Clark

I think the spec is clear that this is not allowed. I guess the spec could be enhanced to allow this. Probably, one would want to allow nesting of alternative...

I agree with your conclusions - metadata should be copied - non-const annotations should be treated as closures: scoping is always lexical, so expressions should be evaluated in the context...

That program is definitely not correct, since it is possible for the variable to be accessed before it is initialized. What is not clear?

Is this a spec or implementation issue?

Warning message should recommend using a table instead of a map.

We cannot just add a set type to langlib, because the type needs to be parameterized in the type of the member, and we do not have user-defined parameterized types....

When I test with is, I will do something like ``` if r is BMapType { } else if r is BTableType { } ``` I think I should get...

@sameerajayasoma Any further thoughts on this?

We are adding distinct types for objects. I am not sure what else we can do here. @sameerajayasoma Can we close this?