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

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

      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.

        1. proxy.zip
          3 kB
        2. qtbug126510.tar.gz
          0.9 kB
        For Gerrit Dashboard: QTBUG-126510
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes