Remove let blocks in js tests

This commit is contained in:
Pale Moon
2017-01-08 14:28:28 +01:00
committed by roytam1
parent 04cfe23841
commit dca4339883
110 changed files with 201 additions and 1568 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ BEGIN_TEST(test_enclosingFunction)
EXEC("s2()()");
CHECK(foundFun == fun);
const char s3chars[] = "return function() { let (x) { function g() { checkEnclosing() } return g() } }";
const char s3chars[] = "return function() { { let x; function g() { checkEnclosing() } return g() } }";
CHECK(JS::CompileFunction(cx, emptyScopeChain, options, "s3", 0, nullptr, s3chars,
strlen(s3chars), &fun));
CHECK(fun);