Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.6.0, Qt Creator 4.0.3
-
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.