On 04/01/18 22:39, Ben Kelly wrote: > We can't have a comment explaining "please add any new constants in > sequential order in the following list"?
We could, but what about removing one? Also if we have hundreds (or thousands) the risk that one is accidentally duplicated is significant. My rationale for this is that managing topics the way we do know simply doesn't scale so if we can avoid manual work we should. > Or make your "generator" > create the idl which then creates the js/c++? I tried as that could have worked! Unfortunately it doesn't seem to be possible ATM. mach bailed out with a weird error when I tried to put an IDL file among the generated ones. I didn't really dig into it but I suspect that since we already generate code from IDL files they're not expected to be generated in turn. Gabriele
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform