We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb8046d commit 621e2e7Copy full SHA for 621e2e7
javascript/extractor/src/com/semmle/jcorn/Parser.java
@@ -2069,6 +2069,7 @@ protected void parsePropertyValue(PropertyInfo pi, DestructuringErrors refDestru
2069
pi.value = this.parseMethod(pi.isGenerator, pi.isAsync);
2070
} else if (this.options.ecmaVersion() >= 5
2071
&& !pi.computed
2072
+ && !pi.isPattern
2073
&& pi.key instanceof Identifier
2074
&& (((Identifier) pi.key).getName().equals("get")
2075
|| ((Identifier) pi.key).getName().equals("set"))
0 commit comments