There is no need to update the scanner info chain after a for/while statement. (#3138)

Fixes #3131.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2019-09-20 11:27:05 +02:00
committed by Robert Fancsik
parent 1acbf83d1a
commit a7c654617d
3 changed files with 22 additions and 2 deletions
+3
View File
@@ -103,3 +103,6 @@ switch ("var") {
}
assert (flow === '123a4');
switch (0) { case 0: for (;false;); case 1: }
switch (0) { case 0: while (false); case 1: }