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

Bogus compile warning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important 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)

      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
      

        For Gerrit Dashboard: QTBUG-117795
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: