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:
committed by
Robert Fancsik
parent
1acbf83d1a
commit
a7c654617d
@@ -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: }
|
||||
|
||||
Reference in New Issue
Block a user