From cc8b8e955bb57c04eefb66d359c93892e5216aef Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Tue, 2 Oct 2018 14:36:57 -0400 Subject: [PATCH] move flags to templates --- src/dynamic-import/catch/nested-arrow.template | 1 + src/dynamic-import/catch/nested-async-function-await.template | 1 + .../catch/nested-async-function-return-await.template | 1 + src/dynamic-import/catch/nested-async-function.template | 1 + src/dynamic-import/catch/nested-block-labeled.template | 1 + src/dynamic-import/catch/nested-block.template | 1 + src/dynamic-import/catch/nested-do-while.template | 1 + src/dynamic-import/catch/nested-do.template | 1 + src/dynamic-import/catch/nested-else.template | 1 + src/dynamic-import/catch/nested-function.template | 1 + src/dynamic-import/catch/nested-if.template | 1 + src/dynamic-import/catch/nested-labeled-block.template | 1 + src/dynamic-import/catch/nested-while.template | 1 + src/dynamic-import/catch/top-level.template | 1 + .../default/nested-arrow-assignment-expression.template | 1 + src/dynamic-import/default/nested-arrow.template | 1 + src/dynamic-import/default/nested-async-function-await.template | 1 + .../default/nested-async-function-return-await.template | 1 + src/dynamic-import/default/nested-async-function.template | 1 + src/dynamic-import/default/nested-block-labeled.template | 1 + src/dynamic-import/default/nested-block.template | 1 + src/dynamic-import/default/nested-do-while.template | 1 + src/dynamic-import/default/nested-do.template | 1 + src/dynamic-import/default/nested-else.template | 1 + src/dynamic-import/default/nested-function.template | 1 + src/dynamic-import/default/nested-if-braceless.template | 1 + src/dynamic-import/default/nested-if.template | 1 + src/dynamic-import/default/nested-labeled-block.template | 1 + src/dynamic-import/default/nested-while.template | 1 + src/dynamic-import/default/top-level.template | 1 + src/dynamic-import/eval-gtbdng-indirect-update-as.case | 1 - src/dynamic-import/eval-gtbdng-indirect-update-dflt.case | 1 - src/dynamic-import/eval-gtbndng-indirect-update.case | 1 - src/dynamic-import/eval-rqstd-abrupt-typeerror.case | 1 - src/dynamic-import/eval-rqstd-abrupt-urierror.case | 1 - src/dynamic-import/instn-iee-err-ambiguous-import.case | 1 - src/dynamic-import/instn-iee-err-circular.case | 1 - src/dynamic-import/instn-iee-err-not-found.case | 1 - src/dynamic-import/returns-promise.case | 1 - 39 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/dynamic-import/catch/nested-arrow.template b/src/dynamic-import/catch/nested-arrow.template index 3ab6ad391b..736fd0b8b1 100644 --- a/src/dynamic-import/catch/nested-arrow.template +++ b/src/dynamic-import/catch/nested-arrow.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let f = () => { diff --git a/src/dynamic-import/catch/nested-async-function-await.template b/src/dynamic-import/catch/nested-async-function-await.template index dad59da0fb..ac4a21887e 100644 --- a/src/dynamic-import/catch/nested-async-function-await.template +++ b/src/dynamic-import/catch/nested-async-function-await.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ async function f() { diff --git a/src/dynamic-import/catch/nested-async-function-return-await.template b/src/dynamic-import/catch/nested-async-function-return-await.template index 6a1db18718..898841aa95 100644 --- a/src/dynamic-import/catch/nested-async-function-return-await.template +++ b/src/dynamic-import/catch/nested-async-function-return-await.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ async function f() { diff --git a/src/dynamic-import/catch/nested-async-function.template b/src/dynamic-import/catch/nested-async-function.template index 89a35cd679..a9dffd4e18 100644 --- a/src/dynamic-import/catch/nested-async-function.template +++ b/src/dynamic-import/catch/nested-async-function.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ async function f() { diff --git a/src/dynamic-import/catch/nested-block-labeled.template b/src/dynamic-import/catch/nested-block-labeled.template index c899f4462c..5ffedebf97 100644 --- a/src/dynamic-import/catch/nested-block-labeled.template +++ b/src/dynamic-import/catch/nested-block-labeled.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ label: { diff --git a/src/dynamic-import/catch/nested-block.template b/src/dynamic-import/catch/nested-block.template index f8bf9e7d95..0f2ab3877a 100644 --- a/src/dynamic-import/catch/nested-block.template +++ b/src/dynamic-import/catch/nested-block.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ { diff --git a/src/dynamic-import/catch/nested-do-while.template b/src/dynamic-import/catch/nested-do-while.template index db9d89b553..3e35874d19 100644 --- a/src/dynamic-import/catch/nested-do-while.template +++ b/src/dynamic-import/catch/nested-do-while.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ do { diff --git a/src/dynamic-import/catch/nested-do.template b/src/dynamic-import/catch/nested-do.template index 4445292afd..6ecc6d1968 100644 --- a/src/dynamic-import/catch/nested-do.template +++ b/src/dynamic-import/catch/nested-do.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let x = 0; diff --git a/src/dynamic-import/catch/nested-else.template b/src/dynamic-import/catch/nested-else.template index 2768d2b759..c8c2f4d7a1 100644 --- a/src/dynamic-import/catch/nested-else.template +++ b/src/dynamic-import/catch/nested-else.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ if (false) { diff --git a/src/dynamic-import/catch/nested-function.template b/src/dynamic-import/catch/nested-function.template index 5cd6bc2cdc..f39cf19cb4 100644 --- a/src/dynamic-import/catch/nested-function.template +++ b/src/dynamic-import/catch/nested-function.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ function f() { diff --git a/src/dynamic-import/catch/nested-if.template b/src/dynamic-import/catch/nested-if.template index 2c4ec85b59..e10e312682 100644 --- a/src/dynamic-import/catch/nested-if.template +++ b/src/dynamic-import/catch/nested-if.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ if (true) { diff --git a/src/dynamic-import/catch/nested-labeled-block.template b/src/dynamic-import/catch/nested-labeled-block.template index ce843b03db..fc4cd663cd 100644 --- a/src/dynamic-import/catch/nested-labeled-block.template +++ b/src/dynamic-import/catch/nested-labeled-block.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ { diff --git a/src/dynamic-import/catch/nested-while.template b/src/dynamic-import/catch/nested-while.template index 6a92083e8c..95167098c3 100644 --- a/src/dynamic-import/catch/nested-while.template +++ b/src/dynamic-import/catch/nested-while.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let x = 0; diff --git a/src/dynamic-import/catch/top-level.template b/src/dynamic-import/catch/top-level.template index 16a3ff44b4..ec7d54e1f1 100644 --- a/src/dynamic-import/catch/top-level.template +++ b/src/dynamic-import/catch/top-level.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ import(/*{ params }*/).catch(error => { diff --git a/src/dynamic-import/default/nested-arrow-assignment-expression.template b/src/dynamic-import/default/nested-arrow-assignment-expression.template index 62fe62ec8e..554c730eff 100644 --- a/src/dynamic-import/default/nested-arrow-assignment-expression.template +++ b/src/dynamic-import/default/nested-arrow-assignment-expression.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let f = () => import(/*{ params }*/).then(imported => { diff --git a/src/dynamic-import/default/nested-arrow.template b/src/dynamic-import/default/nested-arrow.template index fc58f3adb9..b14d661b26 100644 --- a/src/dynamic-import/default/nested-arrow.template +++ b/src/dynamic-import/default/nested-arrow.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let f = () => { diff --git a/src/dynamic-import/default/nested-async-function-await.template b/src/dynamic-import/default/nested-async-function-await.template index bf96a46851..ba361b8449 100644 --- a/src/dynamic-import/default/nested-async-function-await.template +++ b/src/dynamic-import/default/nested-async-function-await.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ async function f() { diff --git a/src/dynamic-import/default/nested-async-function-return-await.template b/src/dynamic-import/default/nested-async-function-return-await.template index fb0d272d44..80d5ecd51b 100644 --- a/src/dynamic-import/default/nested-async-function-return-await.template +++ b/src/dynamic-import/default/nested-async-function-return-await.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ async function f() { diff --git a/src/dynamic-import/default/nested-async-function.template b/src/dynamic-import/default/nested-async-function.template index 944cc0b1e9..410b4f2edc 100644 --- a/src/dynamic-import/default/nested-async-function.template +++ b/src/dynamic-import/default/nested-async-function.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ async function f() { diff --git a/src/dynamic-import/default/nested-block-labeled.template b/src/dynamic-import/default/nested-block-labeled.template index 3700b94d4f..d40583d8cb 100644 --- a/src/dynamic-import/default/nested-block-labeled.template +++ b/src/dynamic-import/default/nested-block-labeled.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ label: { diff --git a/src/dynamic-import/default/nested-block.template b/src/dynamic-import/default/nested-block.template index 98c72d83a3..a5351812f4 100644 --- a/src/dynamic-import/default/nested-block.template +++ b/src/dynamic-import/default/nested-block.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ { diff --git a/src/dynamic-import/default/nested-do-while.template b/src/dynamic-import/default/nested-do-while.template index 05e2af8125..f0130ad818 100644 --- a/src/dynamic-import/default/nested-do-while.template +++ b/src/dynamic-import/default/nested-do-while.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ do { diff --git a/src/dynamic-import/default/nested-do.template b/src/dynamic-import/default/nested-do.template index 51716eca10..8bf4daa59c 100644 --- a/src/dynamic-import/default/nested-do.template +++ b/src/dynamic-import/default/nested-do.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let x = 0; diff --git a/src/dynamic-import/default/nested-else.template b/src/dynamic-import/default/nested-else.template index 4e5f81fc06..3088603d31 100644 --- a/src/dynamic-import/default/nested-else.template +++ b/src/dynamic-import/default/nested-else.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ if (false) { diff --git a/src/dynamic-import/default/nested-function.template b/src/dynamic-import/default/nested-function.template index 05a358ce7a..b03f2d62cd 100644 --- a/src/dynamic-import/default/nested-function.template +++ b/src/dynamic-import/default/nested-function.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ function f() { diff --git a/src/dynamic-import/default/nested-if-braceless.template b/src/dynamic-import/default/nested-if-braceless.template index c960b59fab..87921a8797 100644 --- a/src/dynamic-import/default/nested-if-braceless.template +++ b/src/dynamic-import/default/nested-if-braceless.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ if (true) import(/*{ params }*/); diff --git a/src/dynamic-import/default/nested-if.template b/src/dynamic-import/default/nested-if.template index f51d7011bf..7b7f5a7ca2 100644 --- a/src/dynamic-import/default/nested-if.template +++ b/src/dynamic-import/default/nested-if.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ if (true) { diff --git a/src/dynamic-import/default/nested-labeled-block.template b/src/dynamic-import/default/nested-labeled-block.template index 25fb9c7d98..4ca4b21ee5 100644 --- a/src/dynamic-import/default/nested-labeled-block.template +++ b/src/dynamic-import/default/nested-labeled-block.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ { diff --git a/src/dynamic-import/default/nested-while.template b/src/dynamic-import/default/nested-while.template index 1ec04ce91f..469640edd3 100644 --- a/src/dynamic-import/default/nested-while.template +++ b/src/dynamic-import/default/nested-while.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ let x = 0; diff --git a/src/dynamic-import/default/top-level.template b/src/dynamic-import/default/top-level.template index 764e714b64..3ab2f0fb66 100644 --- a/src/dynamic-import/default/top-level.template +++ b/src/dynamic-import/default/top-level.template @@ -21,6 +21,7 @@ info: | features: [dynamic-import] +flags: [async] ---*/ import(/*{ params }*/).then(imported => { diff --git a/src/dynamic-import/eval-gtbdng-indirect-update-as.case b/src/dynamic-import/eval-gtbdng-indirect-update-as.case index d063755855..2b9d5d12e3 100644 --- a/src/dynamic-import/eval-gtbdng-indirect-update-as.case +++ b/src/dynamic-import/eval-gtbdng-indirect-update-as.case @@ -18,7 +18,6 @@ info: | e. Return ? targetER.GetBindingValue(N2, S). includes: [fnGlobalObject.js] template: default -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/eval-gtbdng-indirect-update-dflt.case b/src/dynamic-import/eval-gtbdng-indirect-update-dflt.case index 056e8e45ba..ae7310a5b0 100644 --- a/src/dynamic-import/eval-gtbdng-indirect-update-dflt.case +++ b/src/dynamic-import/eval-gtbdng-indirect-update-dflt.case @@ -18,7 +18,6 @@ info: | e. Return ? targetER.GetBindingValue(N2, S). template: default -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/eval-gtbndng-indirect-update.case b/src/dynamic-import/eval-gtbndng-indirect-update.case index c6862d3b76..030b532914 100644 --- a/src/dynamic-import/eval-gtbndng-indirect-update.case +++ b/src/dynamic-import/eval-gtbndng-indirect-update.case @@ -19,7 +19,6 @@ info: | e. Return ? targetER.GetBindingValue(N2, S). includes: [fnGlobalObject.js] template: default -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/eval-rqstd-abrupt-typeerror.case b/src/dynamic-import/eval-rqstd-abrupt-typeerror.case index 0629d59929..371b0d6800 100644 --- a/src/dynamic-import/eval-rqstd-abrupt-typeerror.case +++ b/src/dynamic-import/eval-rqstd-abrupt-typeerror.case @@ -12,7 +12,6 @@ info: | a. Let requiredModule be ? HostResolveImportedModule(module, required). b. Perform ? requiredModule.ModuleEvaluation(). template: catch -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/eval-rqstd-abrupt-urierror.case b/src/dynamic-import/eval-rqstd-abrupt-urierror.case index 1930388b55..bff657b556 100644 --- a/src/dynamic-import/eval-rqstd-abrupt-urierror.case +++ b/src/dynamic-import/eval-rqstd-abrupt-urierror.case @@ -12,7 +12,6 @@ info: | a. Let requiredModule be ? HostResolveImportedModule(module, required). b. Perform ? requiredModule.ModuleEvaluation(). template: catch -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/instn-iee-err-ambiguous-import.case b/src/dynamic-import/instn-iee-err-ambiguous-import.case index 415643b956..3a2c286b65 100644 --- a/src/dynamic-import/instn-iee-err-ambiguous-import.case +++ b/src/dynamic-import/instn-iee-err-ambiguous-import.case @@ -32,7 +32,6 @@ info: | SameValue(resolution.[[BindingName]], starResolution.[[BindingName]]) is false, return "ambiguous". template: catch -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/instn-iee-err-circular.case b/src/dynamic-import/instn-iee-err-circular.case index 61d5ddbdab..6b34395f17 100644 --- a/src/dynamic-import/instn-iee-err-circular.case +++ b/src/dynamic-import/instn-iee-err-circular.case @@ -21,7 +21,6 @@ info: | i. Assert: this is a circular import request. ii. Return null. template: catch -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/instn-iee-err-not-found.case b/src/dynamic-import/instn-iee-err-not-found.case index 3c6b40ea97..52cd8d0dfc 100644 --- a/src/dynamic-import/instn-iee-err-not-found.case +++ b/src/dynamic-import/instn-iee-err-not-found.case @@ -20,7 +20,6 @@ info: | [...] 11. Return starResolution. template: catch -flags: [async] ---*/ //- params diff --git a/src/dynamic-import/returns-promise.case b/src/dynamic-import/returns-promise.case index 84cba2a759..0160b0704d 100644 --- a/src/dynamic-import/returns-promise.case +++ b/src/dynamic-import/returns-promise.case @@ -4,7 +4,6 @@ /*--- desc: Dynamic import() returns a Promise object. template: default -flags: [async] ---*/ //- params