Skip to content

Commit 2f38ca9

Browse files
committed
Add unit test
1 parent ea73484 commit 2f38ca9

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

test/Bugs/rlexe.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,13 @@
496496
<compile-flags>-force:deferparse -parserstatecache -useparserstatecache</compile-flags>
497497
</default>
498498
</test>
499+
<test>
500+
<default>
501+
<files>skipping_nested_deferred_incorrect_function_id.js</files>
502+
<tags>exclude_jshost</tags>
503+
<compile-flags>-force:deferparse -parserstatecache -useparserstatecache</compile-flags>
504+
</default>
505+
</test>
499506
<test>
500507
<default>
501508
<files>withSplitScope.js</files>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//-------------------------------------------------------------------------------------------------------
2+
// Copyright (C) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4+
//-------------------------------------------------------------------------------------------------------
5+
6+
function test0(){
7+
function a(b = function c() {}) { return () => { return 6; } };
8+
[0].reduce(function d() {}, 0);
9+
a()();
10+
}
11+
test0();
12+
13+
console.log("pass");

0 commit comments

Comments
 (0)