| Index: test/mjsunit/regress/regress-799761.js
|
| diff --git a/test/mjsunit/regress/regress-799761.js b/test/mjsunit/regress/regress-799761.js
|
| index d3be1bdadf7c4d98988409905d8b87c5ececd1d6..98b5b290e5c457f767d56fc778477f868bb95827 100644
|
| --- a/test/mjsunit/regress/regress-799761.js
|
| +++ b/test/mjsunit/regress/regress-799761.js
|
| @@ -48,12 +48,13 @@ assertEquals(42, c);
|
| // their value is undefined.
|
|
|
| (function (sel) {
|
| - if (sel == 0)
|
| + if (sel == 0) {
|
| with ({ x: 42 }) {
|
| const x;
|
| }
|
| - else
|
| + } else {
|
| x = 3;
|
| + }
|
| x = 5;
|
| assertTrue(typeof x == 'undefined');
|
| })(1);
|
| @@ -77,7 +78,7 @@ assertEquals(42, c);
|
| with ({ x: 42 }) {
|
| const x = 7;
|
| }
|
| - x = 5
|
| + x = 5;
|
| bar();
|
| })();
|
|
|
|
|