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

Support missing for the `const` JavaScript keyword

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.13.0-rc1
    • Qt Creator 3.6.0, Qt Creator 4.0.3
    • Quick / QML Support
    • None
    • Tested on QtCreator 3.6.0 (SailfishOS IDE) and QtCreator 4.0.3.
      The program tested on SailfishOS (Qt 5.2 with Sailfish Silica)

    Description

      The following statement:

      const v = 7

      is a perfectly valid JavaScript according to 2015 ECMA-262 specification and works perfectly with Qt 5.2. Still, QtCreator doesn't highlight it as a keyword and warns about an error.

      Attachments

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

        Activity

          People

            fawzi Fawzi Mohamed
            marmistrz Marcin Mielniczuk
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes