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

[REG: 5.11->5.12] Qt.include() does not import functions when the included script is using strict mode

    XMLWordPrintable

Details

    Description

      Seems that include() evaluates, but does not actually import anything anymore from the referenced script to the same namespace.

      To reproduce:

      path/to/5.12/bin/qml main.qml
      

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change