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

brace the code, the qt creator show the wrong syntax checker notify message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 2.4.1
    • Quick / QML Support
    • None
    • Windows 7 64bit

    Description

      When I brace the code

      window.pageStack.depth <= 1 ? Qt.quit() : window.pageStack.pop()

      to

      {window.pageStack.depth <= 1 ? Qt.quit() : window.pageStack.pop()}

      in main.qml. The qt editor's syntax checker will show the wrong nofify message as

      window.pageStack.depth <= 1 ? Qt.quit() : window.pageStack.pop()

      Which is not an error at all.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            owenzhao Owen Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes