java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please file a bug at http://go/jscompiler-bug with this stack trace, sponge link, and repro steps (a CL# and a build target). COMPUTED_PROP 1 [length: 9] [source_file: input0] is not a string node Node(OBJECTLIT): input0:1:10 const X = {[Date]: 1}; Parent(NAME X): input0:1:6 const X = {[Date]: 1};

GitHub | SLaks | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Linter cannot handle enhanced object literals

    GitHub | 7 months ago | SLaks
    java.lang.RuntimeException: INTERNAL COMPILER ERROR. Please file a bug at http://go/jscompiler-bug with this stack trace, sponge link, and repro steps (a CL# and a build target). COMPUTED_PROP 1 [length: 9] [source_file: input0] is not a string node Node(OBJECTLIT): input0:1:10 const X = {[Date]: 1}; Parent(NAME X): input0:1:6 const X = {[Date]: 1};

    Root Cause Analysis

    1. java.lang.RuntimeException

      INTERNAL COMPILER ERROR. Please file a bug at http://go/jscompiler-bug with this stack trace, sponge link, and repro steps (a CL# and a build target). COMPUTED_PROP 1 [length: 9] [source_file: input0] is not a string node Node(OBJECTLIT): input0:1:10 const X = {[Date]: 1}; Parent(NAME X): input0:1:6 const X = {[Date]: 1};

      at com.google.javascript.rhino.Node.getString()
    2. Closure Compiler
      CheckUnusedPrivateProperties.visit
      1. com.google.javascript.rhino.Node.getString(Node.java:1099)
      2. com.google.javascript.jscomp.CheckUnusedPrivateProperties.visit(CheckUnusedPrivateProperties.java:133)
      2 frames