Make sure to run the RewriteAsyncFunctions pass on externs
In general, there is no reason why external APIs shouldn't allow
asynchronous functions/methods.
@@ -129,6 +129,7 @@ public final class RewriteAsyncFunctions implements NodeTraversal.Callback, HotS
@Override
public void process(Node externs, Node root) {
+ TranspilationPasses.processTranspile(compiler, externs, transpiledFeatures, this);
TranspilationPasses.processTranspile(compiler, root, transpiledFeatures, this);
}
