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

Bogus compile warning

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.2, 6.5, 6.6, 6.7.0 FF
    • 6.6.0
    • QML: Compiler
    • None
    • 674dc3f73 (dev), d827bed6b (6.6), 7df34d498 (dev), bd6891b06 (tqtc/lts-6.5)

    Description

      Since we allow SetLookup on shadowable properties we get a problem if we use the value getting set again afterwards. See attached example:

      Main.qml:10: (strict mode) Could not compile function chainTest: Cannot generate efficient code for incomparable types conversion to QVariant and double of Variable::value with type int
      

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: