| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2069,6 +2069,7 @@ protected void parsePropertyValue(PropertyInfo pi, DestructuringErrors refDestru | |||
| 2069 | 2069 | pi.value = this.parseMethod(pi.isGenerator, pi.isAsync); | |
| 2070 | 2070 | } else if (this.options.ecmaVersion() >= 5 | |
| 2071 | 2071 | && !pi.computed | |
| 2072 | + && !pi.isPattern | ||
| 2072 | 2073 | && pi.key instanceof Identifier | |
| 2073 | 2074 | && (((Identifier) pi.key).getName().equals("get") | |
| 2074 | 2075 | || ((Identifier) pi.key).getName().equals("set")) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments