Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.10.0, Qt Creator 6.0.2, Qt Creator 9.0.0-beta2
-
None
Description
Getting incorrect warnings using ES6 let/const statements under different blocks with Qt Creator 4.10:
for (let i = 0; i < 10; i++) { console.log(i); // "i" name is used before its declaration (M105) } for (let i = 0; i < 10; i++) { // "i" is declared more than once (M107) console.log(i); }