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

ECMAScript 6 'let' statement support

    XMLWordPrintable

Details

    • All

    Description

      Qt Creator currently treats the 'let' statement as 'var' for JavaScript which break the block scoping rule in ES 6 standard.

      Codes below will false report a warning:

      if (foo) { let test; }
      if (bar) { let test; } // "test" is declared more than once. (M107)

      Attachments

        Issue Links

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

          Activity

            People

              tjenssen Tim Jenssen
              gpbeta Joshua GPBeta
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes