clarity-pattern-parser 10.2.7 → 10.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarity-pattern-parser",
3
- "version": "10.2.7",
3
+ "version": "10.2.8",
4
4
  "description": "Parsing Library for Typescript and Javascript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.esm.js",
@@ -293,6 +293,11 @@ export class ExpressionPattern implements Pattern {
293
293
 
294
294
  if (cursor.hasNext()) {
295
295
  cursor.next();
296
+ } else {
297
+ if (lastBinaryNode != null) {
298
+ lastBinaryNode.appendChild(lastUnaryNode);
299
+ }
300
+ break outer;
296
301
  }
297
302
  break;
298
303
  }