java.lang.IllegalStateException: Unexpected OBJECT_PATTERN parent: ASSIGN 5 [length: 29] [source_file: Input_0]

GitHub | jplaisted | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unexpected OBJECT_PATTERN parent

    GitHub | 5 months ago | jplaisted
    java.lang.IllegalStateException: Unexpected OBJECT_PATTERN parent: ASSIGN 5 [length: 29] [source_file: Input_0]

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Unexpected OBJECT_PATTERN parent: ASSIGN 5 [length: 29] [source_file: Input_0]

      at com.google.javascript.jscomp.Es6RewriteDestructuring.visitObjectPattern()
    2. Closure Compiler
      NodeTraversal.traverseChildren
      1. com.google.javascript.jscomp.Es6RewriteDestructuring.visitObjectPattern(Es6RewriteDestructuring.java:224)
      2. com.google.javascript.jscomp.Es6RewriteDestructuring.visit(Es6RewriteDestructuring.java:78)
      3. com.google.javascript.jscomp.NodeTraversal.traverseBranch(NodeTraversal.java:650)
      4. com.google.javascript.jscomp.NodeTraversal.traverseChildren(NodeTraversal.java:722)
      4 frames