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

[Reg 6.8 -> 6.9] Object literal miscompilation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • 6.10.0
    • 6.9, 6.10
    • QML: Compiler
    • None

    Description

       

      import QtQuick
      
      Item {
          property var v: ({})
          Component.onCompleted: console.log(v)
      } 

      This code results in a Type error in the compiler but works fine with the engine.

       

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            olivier.decanniere Olivier De Cannière
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes