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 | 8 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

    Linter cannot handle enhanced object literals

    GitHub | 8 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