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

[REG 6.6 -> 6.7] Type error due to clash between JS and Qml type names

    XMLWordPrintable

Details

    • d6f1bf407 (dev), 5ef7698d1 (6.8), e2c1b6c41 (6.7)

    Description

      In the attached reproducer, the following line generates a runtime Type error:

      var p = new Proxy() 

      This seems to be because the JS Proxy type clashes with Proxy declared in the proxy/qmldir file. 

       

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/495722 introduced the problem.

      Attachments

        1. proxy.zip
          3 kB
        2. qtbug126510.tar.gz
          0.9 kB

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              olivier.decanniere Olivier De Cannière
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes