Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-4454

QML Editor: Error underlining shows for boolean properties in certain circumstances (Regression from 2.1)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 2.2.0-beta
    • Quick / QML Support

      Steps to reproduce:

      • Create new QML file:

      import QtQuick 1.0

      Text { \n
      property string t \n
      enabled: t != "" \n
      visible: tt Unable to render embedded object: File (= "" // Error/Warning underlining will show up for operator ') not found.=', saying (type coercion, use === , etc) \n
      }

      Note that the error underlining shows up for tt, although tt is not known.

      This was noticed looking at a list delegate defining properties depending on its model's properties. In this case, it may cause confusion.

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

            con Eike Ziller
            kleint Friedemann Kleint
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes