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

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

      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".

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes