Fix iterator position calculation for array patterns (#3494)

This patch fixes #3455.

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
This commit is contained in:
Robert Fancsik authored and GitHub committed 2020-01-14 16:03:26 +01:00
1 parent c8ce7d8791
commit 210b631b21
7 files changed
+75 -17

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ main (void)
/* Check the snapshot data. Unused bytes should be filled with zeroes */
const uint8_t expected_data[] =
{
0x4A, 0x52, 0x52, 0x59, 0x24, 0x00, 0x00, 0x00,
0x4A, 0x52, 0x52, 0x59, 0x25, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x48, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
0x03, 0x00, 0x01, 0x00, 0x41, 0x00, 0x01, 0x00,