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

ECMAScript 6 'let' statement support

XMLWordPrintable

    • All

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes