Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6138

[Reg] Error objects lack lineNumber and fileName properties when they're not thrown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 4.6.0
    • Qt Script
    • None

    Description

      e = new Error();

      The resulting error object doesn't have lineNumber and fileName properties.
      When an error is explicitly thrown (using the throw keyword), it does have these properties.
      This is a regression from Qt 4.5.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kenthans Kent Hansen (Inactive)
              kenthans Kent Hansen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes