I don't believe there's a way to statically lint against the generated module code, so crashing in debug builds would make invalid annotations a lot more noisy (as opposed to the javascript exception that occurs otherwise). Differential Revision: https://phabricator.services.mozilla.com/D240208