On 12-08-09 10:43 AM, David Rajchenbach-Teller wrote:
Also, with this new feature, should we consider some static analysis to
try and root out untyped enumerations?
I'm not sure what you mean.
I mean that, in a number of places in our codebase, we use untyped
enumerations (which is only fair, given that we had no compiler support
for typed enumeration). If we decide to, we could probably write some
static analysis tool to convert them semi-automatically to typed
enumerations, for better safety.
That sounds like a good idea!
Ehsan
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform