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

[Reg] Attempting to convert an activation object to a string results in a TypeError

    XMLWordPrintable

Details

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

    Description

      With the following program:

      QScriptEngine eng;
      qWarning() << eng.pushContext()->activationObject().toString();
      qWarning() << eng.hasUncaughtException();
      

      the result with Qt 4.5 is "activation", "false".
      The result with Qt 4.6 is "TypeError: No default value", "true".

      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