[Pkg-javascript-commits] [node-acorn-jsx] 115/484: Remove assignment to non-existing var

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit f3c70d76efd79040721f913b5877a4f3149fdbe2
Author: Marijn Haverbeke <marijnh at gmail.com>
Date:   Wed Apr 3 15:05:00 2013 +0200

    Remove assignment to non-existing var
---
 acorn_loose.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acorn_loose.js b/acorn_loose.js
index 2cde405..8c781a3 100644
--- a/acorn_loose.js
+++ b/acorn_loose.js
@@ -707,7 +707,7 @@
         kind = prop.kind = "init";
       } else if (options.ecmaVersion >= 5 && prop.key.type === "Identifier" &&
                  (prop.key.name === "get" || prop.key.name === "set")) {
-        isGetSet = sawGetSet = true;
+        isGetSet = true;
         kind = prop.kind = prop.key.name;
         prop.key = parsePropertyName() || dummyIdent();
         prop.value = parseFunction(startNode(), false);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list