Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.9.0 RC
-
None
-
1919410cf (dev), c36416c97 (dev)
Description
I had a piece of (bad) code in an application that was accidently missing the .length in the if check
const theList = PC.Experiment.get() // returns QStringList if (theList) { for (let entry of theList) { console.log(entry) } } else { // do whatever }
which causes a crash of qmlsc. Adding the missing .length makes it happy again - a traditional style for(let i=0;...) loop is also working fine.