Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: scripts/astDecompile.js

Issue 29350158: Issue 4353 - Update Js Shell to version 45 (Closed)
Patch Set: Created Aug. 24, 2016, 11:16 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/astDecompile.js
diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js
index 3bf3bb0605285516b84896fa3b41b6c56d052b45..6b6ee4cc6937e520e4ad4dcb8f79de25b697cfd6 100644
--- a/scripts/astDecompile.js
+++ b/scripts/astDecompile.js
@@ -247,7 +247,7 @@ function decompileFunctionExpression(ast) {
return decompileFunctionDeclaration(ast);
}
-function decompileArrowExpression(ast) {
+function decompileArrowFunctionExpression(ast) {
let str = "(" + ast.params.map(decompileAST).join(", ") + ")";
str += " => " + decompileAST(ast.body);
return str;

Powered by Google App Engine
This is Rietveld