From 6ad75adb0e929209e7c3e2b0c93f4f86154258e3 Mon Sep 17 00:00:00 2001
From: Leo Balter <leonardo.balter@gmail.com>
Date: Mon, 27 Mar 2017 11:52:09 -0400
Subject: [PATCH] Add async-iteration features flag

---
 src/async-generators/default/async-class-decl-method.template    | 1 +
 .../default/async-class-decl-static-method.template              | 1 +
 src/async-generators/default/async-class-expr-method.template    | 1 +
 .../default/async-class-expr-static-method.template              | 1 +
 src/async-generators/default/async-declaration.template          | 1 +
 src/async-generators/default/async-expression-named.template     | 1 +
 src/async-generators/default/async-expression.template           | 1 +
 src/async-generators/default/async-obj-method.template           | 1 +
 src/async-generators/non-strict/async-declaration.template       | 1 +
 src/async-generators/non-strict/async-expression-named.template  | 1 +
 src/async-generators/non-strict/async-expression.template        | 1 +
 src/async-generators/non-strict/async-obj-method.template        | 1 +
 12 files changed, 12 insertions(+)

diff --git a/src/async-generators/default/async-class-decl-method.template b/src/async-generators/default/async-class-decl-method.template
index 4bdf97b1bc..87cd550d46 100644
--- a/src/async-generators/default/async-class-decl-method.template
+++ b/src/async-generators/default/async-class-decl-method.template
@@ -16,6 +16,7 @@ info: |
 
   AsyncGeneratorMethod :
     async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-class-decl-static-method.template b/src/async-generators/default/async-class-decl-static-method.template
index d352943b5f..00b105ad43 100644
--- a/src/async-generators/default/async-class-decl-static-method.template
+++ b/src/async-generators/default/async-class-decl-static-method.template
@@ -16,6 +16,7 @@ info: |
 
   AsyncGeneratorMethod :
     async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-class-expr-method.template b/src/async-generators/default/async-class-expr-method.template
index 141f3ab391..745a8e9279 100644
--- a/src/async-generators/default/async-class-expr-method.template
+++ b/src/async-generators/default/async-class-expr-method.template
@@ -16,6 +16,7 @@ info: |
 
   AsyncGeneratorMethod :
     async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-class-expr-static-method.template b/src/async-generators/default/async-class-expr-static-method.template
index 85a18a69c4..ac7328fff2 100644
--- a/src/async-generators/default/async-class-expr-static-method.template
+++ b/src/async-generators/default/async-class-expr-static-method.template
@@ -16,6 +16,7 @@ info: |
 
   AsyncGeneratorMethod :
     async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-declaration.template b/src/async-generators/default/async-declaration.template
index e1af489b82..c32db4e674 100644
--- a/src/async-generators/default/async-declaration.template
+++ b/src/async-generators/default/async-declaration.template
@@ -11,6 +11,7 @@ info: |
   AsyncGeneratorDeclaration:
     async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
       AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-expression-named.template b/src/async-generators/default/async-expression-named.template
index ef348b6317..e02b6938bb 100644
--- a/src/async-generators/default/async-expression-named.template
+++ b/src/async-generators/default/async-expression-named.template
@@ -11,6 +11,7 @@ info: |
   AsyncGeneratorExpression :
     async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
       AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-expression.template b/src/async-generators/default/async-expression.template
index dbbabb63a6..11e0b0a962 100644
--- a/src/async-generators/default/async-expression.template
+++ b/src/async-generators/default/async-expression.template
@@ -11,6 +11,7 @@ info: |
   AsyncGeneratorExpression :
     async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
       AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/default/async-obj-method.template b/src/async-generators/default/async-obj-method.template
index 6527dd071c..c9e64d90c6 100644
--- a/src/async-generators/default/async-obj-method.template
+++ b/src/async-generators/default/async-obj-method.template
@@ -9,6 +9,7 @@ info: |
 
   AsyncGeneratorMethod :
     async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/non-strict/async-declaration.template b/src/async-generators/non-strict/async-declaration.template
index c7b9c09874..7baa44f5ad 100644
--- a/src/async-generators/non-strict/async-declaration.template
+++ b/src/async-generators/non-strict/async-declaration.template
@@ -11,6 +11,7 @@ info: |
   AsyncGeneratorDeclaration:
     async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
       AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/non-strict/async-expression-named.template b/src/async-generators/non-strict/async-expression-named.template
index c6d7c07b83..0659f18886 100644
--- a/src/async-generators/non-strict/async-expression-named.template
+++ b/src/async-generators/non-strict/async-expression-named.template
@@ -11,6 +11,7 @@ info: |
   AsyncGeneratorExpression :
     async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
       AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/non-strict/async-expression.template b/src/async-generators/non-strict/async-expression.template
index 3a6dc2c2b9..20d3bc841f 100644
--- a/src/async-generators/non-strict/async-expression.template
+++ b/src/async-generators/non-strict/async-expression.template
@@ -11,6 +11,7 @@ info: |
   AsyncGeneratorExpression :
     async [no LineTerminator here] function * BindingIdentifier ( FormalParameters ) {
       AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
diff --git a/src/async-generators/non-strict/async-obj-method.template b/src/async-generators/non-strict/async-obj-method.template
index 0216a24495..b15e9da3cd 100644
--- a/src/async-generators/non-strict/async-obj-method.template
+++ b/src/async-generators/non-strict/async-obj-method.template
@@ -10,6 +10,7 @@ info: |
 
   AsyncGeneratorMethod :
     async [no LineTerminator here] * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody }
+features: [async-iteration]
 ---*/
 
 var callCount = 0;
-- 
GitLab