Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8133119

Error message associated with TypeError for call and new should include stringified Node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • None
    • b77
    • generic
    • generic

        Error message associated with TypeError can be improved by including stringified call (IR) Node. Example:

        var obj = {}
        obj.func()

        -> TypeError: obj.foo is not a function

        arr = [33]
        arr[0].obj.func()

        -> TypeError: arr[0].func is not a function


              sundar Sundararajan Athijegannathan
              sundar Sundararajan Athijegannathan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: