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

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

    XMLWordPrintable

Details

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

    Backports

      Description

        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


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: