Skip to content
Snippets Groups Projects
Unverified Commit f8f5a7a1 authored by Leo Balter's avatar Leo Balter
Browse files

Add missing generators flags

parent e38587ec
Branches
No related tags found
No related merge requests found
Showing
with 20 additions and 1 deletion
......@@ -40,7 +40,7 @@ info: |
like-named lexical declaration.
iii. Let thisLex be thisLex's outer environment reference.
flags: [noStrict]
features: [let]
features: [generators, let]
---*/
var o = {
......
......@@ -15,6 +15,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv.
[...]
flags: [noStrict]
features: [generators]
---*/
var x = 'outside';
......
......@@ -16,6 +16,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv.
[...]
flags: [noStrict]
features: [generators]
---*/
var x = 'outside';
......
......@@ -21,6 +21,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv.
[...]
flags: [noStrict]
features: [generators]
---*/
var x = 'outside';
......
......@@ -21,6 +21,7 @@ info: |
11. Set the LexicalEnvironment of currentContext to originalEnv.
[...]
flags: [noStrict]
features: [generators]
---*/
var x = 'outside';
......
......@@ -17,6 +17,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List.
[...]
features: [generators]
---*/
var probe;
......
......@@ -18,6 +18,7 @@ info: |
d. Set the VariableEnvironment of calleeContext to varEnv.
e. Let instantiatedVarNames be a new empty List.
[...]
features: [generators]
---*/
var x = 'outside';
......
......@@ -9,6 +9,7 @@ flags: [module]
negative:
phase: early
type: SyntaxError
features: [generators]
---*/
throw "Test262: This statement should not be evaluated.";
......
......@@ -23,6 +23,7 @@ info: |
5. Perform ? InitializeBoundName("*default*", value, env).
[...]
flags: [module]
features: [generators]
---*/
export default (function* () { return 24601; });
......
......@@ -23,6 +23,7 @@ info: |
5. Perform ? InitializeBoundName("*default*", value, env).
[...]
flags: [module]
features: [generators]
---*/
export default (function* gName() { return 88; });
......
......@@ -6,6 +6,7 @@ description: >
need to be terminated with a semicolon or newline
esid: sec-moduleevaluation
flags: [module]
features: [generators]
---*/
var count = 0;
......
......@@ -6,6 +6,7 @@ description: >
be terminated with a semicolon or newline
esid: sec-moduleevaluation
flags: [module]
features: [generators]
---*/
var count = 0;
......
......@@ -6,6 +6,7 @@ description: >
with a semicolon or newline
esid: sec-moduleevaluation
flags: [module]
features: [generators]
---*/
var count = 0;
......
......@@ -38,6 +38,7 @@ info: |
and N2 as its target binding and record that the binding is initialized.
6. Return NormalCompletion(empty).
flags: [module]
features: [generators]
---*/
assert.sameValue(
......
......@@ -43,6 +43,7 @@ info: |
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
flags: [module]
features: [generators]
---*/
assert.sameValue(g().next().value, 23, 'generator function value is hoisted');
......
......@@ -43,6 +43,7 @@ info: |
function * BindingIdentifier[?Yield] ( FormalParameters[Yield] ) { GeneratorBody }
[+Default] function * ( FormalParameters[Yield] ) { GeneratorBody }
flags: [module]
features: [generators]
---*/
assert.sameValue(g().next().value, 23, 'generator function value is hoisted');
......
......@@ -40,6 +40,7 @@ info: |
and N2 as its target binding and record that the binding is initialized.
6. Return NormalCompletion(empty).
flags: [module]
features: [generators]
---*/
assert.sameValue(
......
......@@ -14,6 +14,7 @@ info: |
1. Let env be a new Lexical Environment.
[...]
flags: [module]
features: [generators]
---*/
import './instn-uniq-env-rec-other_FIXTURE.js'
......
......@@ -7,6 +7,7 @@ negative:
phase: early
type: SyntaxError
flags: [module]
features: [generators]
---*/
throw "Test262: This statement should not be evaluated.";
......
......@@ -7,6 +7,7 @@ negative:
phase: early
type: SyntaxError
flags: [module]
features: [generators]
---*/
throw "Test262: This statement should not be evaluated.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment