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: Rebased. Created Sept. 13, 2016, 1:29 p.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
« no previous file with comments | « scripts/abprewrite.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/astDecompile.js
diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js
index 7436bac0947307f7089bd5ba3a6c385d47c63797..10c3d3bf21b77e690a070fcb6cd64743a97e0b81 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;
« no previous file with comments | « scripts/abprewrite.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld