Soy JS codegen: fix latent (unreported) goog.require bug.
Currently, SoyJsPluginUtils::applyDirective collects the symbols that need to be goog.require'd from the directive's arguments. But due to a spurious break statement, it stops collecting the symbols after the first arg that is not representable as a single expression.
@@ -86,7 +86,6 @@ public final class SoyJsPluginUtils {
arg.collectRequires(collector);
if (!arg.isRepresentableAsSingleExpression()) {
isSingleExpr = false;
- break;
}
}
if (directive instanceof SoyLibraryAssistedJsSrcPrintDirective) {
