From c7bdf7fc63235957de8fb0dfa39948c3ba51b56e Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Wed, 23 Dec 2015 00:02:02 -0500 Subject: [PATCH] remove all property, fixup tests --- src/parser/expression.js | 1 - .../experimental/async-generators/class-method/expected.json | 3 +-- .../experimental/async-generators/object-method/expected.json | 3 +-- test/fixtures/experimental/uncategorised/18/expected.json | 3 +-- test/fixtures/experimental/uncategorised/19/expected.json | 3 +-- test/fixtures/experimental/uncategorised/20/expected.json | 3 +-- test/fixtures/experimental/uncategorised/21/expected.json | 3 +-- test/fixtures/experimental/uncategorised/22/expected.json | 3 +-- test/fixtures/experimental/uncategorised/23/expected.json | 3 +-- test/fixtures/experimental/uncategorised/25/expected.json | 3 +-- 10 files changed, 9 insertions(+), 19 deletions(-) diff --git a/src/parser/expression.js b/src/parser/expression.js index 82d0fd7f2e..0bf5ad079d 100644 --- a/src/parser/expression.js +++ b/src/parser/expression.js @@ -968,7 +968,6 @@ pp.parseAwait = function (node) { if (this.isLineTerminator()) { this.unexpected(); } - node.all = false; if (this.match(tt.star)) { this.raise(node.start, "await* has been removed from the async functions proposal. Use Promise.all() instead.") } diff --git a/test/fixtures/experimental/async-generators/class-method/expected.json b/test/fixtures/experimental/async-generators/class-method/expected.json index cf205e9395..f1a8cb05c1 100644 --- a/test/fixtures/experimental/async-generators/class-method/expected.json +++ b/test/fixtures/experimental/async-generators/class-method/expected.json @@ -282,7 +282,6 @@ "column": 38 } }, - "all": false, "argument": { "type": "CallExpression", "start": 97, @@ -380,4 +379,4 @@ ], "directives": [] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/async-generators/object-method/expected.json b/test/fixtures/experimental/async-generators/object-method/expected.json index 75c555d271..5a25c2ce85 100644 --- a/test/fixtures/experimental/async-generators/object-method/expected.json +++ b/test/fixtures/experimental/async-generators/object-method/expected.json @@ -297,7 +297,6 @@ "column": 38 } }, - "all": false, "argument": { "type": "CallExpression", "start": 99, @@ -398,4 +397,4 @@ ], "directives": [] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/18/expected.json b/test/fixtures/experimental/uncategorised/18/expected.json index 556ab1b1c3..1624ec0050 100644 --- a/test/fixtures/experimental/uncategorised/18/expected.json +++ b/test/fixtures/experimental/uncategorised/18/expected.json @@ -122,7 +122,6 @@ "column": 43 } }, - "all": false, "argument": { "type": "Identifier", "start": 36, @@ -146,4 +145,4 @@ } ] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/19/expected.json b/test/fixtures/experimental/uncategorised/19/expected.json index eb899c91ea..7656d8bdf0 100644 --- a/test/fixtures/experimental/uncategorised/19/expected.json +++ b/test/fixtures/experimental/uncategorised/19/expected.json @@ -170,7 +170,6 @@ "column": 47 } }, - "all": false, "argument": { "type": "Identifier", "start": 46, @@ -204,4 +203,4 @@ ], "directives": [] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/20/expected.json b/test/fixtures/experimental/uncategorised/20/expected.json index 4a03ca9df0..236d7969c2 100644 --- a/test/fixtures/experimental/uncategorised/20/expected.json +++ b/test/fixtures/experimental/uncategorised/20/expected.json @@ -152,7 +152,6 @@ "column": 49 } }, - "all": false, "argument": { "type": "Identifier", "start": 42, @@ -180,4 +179,4 @@ } ] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/21/expected.json b/test/fixtures/experimental/uncategorised/21/expected.json index 1319a5f9a5..3e9c3b4608 100644 --- a/test/fixtures/experimental/uncategorised/21/expected.json +++ b/test/fixtures/experimental/uncategorised/21/expected.json @@ -241,7 +241,6 @@ "column": 50 } }, - "all": false, "argument": { "type": "Identifier", "start": 43, @@ -273,4 +272,4 @@ ], "directives": [] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/22/expected.json b/test/fixtures/experimental/uncategorised/22/expected.json index a0fd07d512..b845c0fb22 100644 --- a/test/fixtures/experimental/uncategorised/22/expected.json +++ b/test/fixtures/experimental/uncategorised/22/expected.json @@ -172,7 +172,6 @@ "column": 46 } }, - "all": false, "argument": { "type": "Identifier", "start": 39, @@ -201,4 +200,4 @@ ], "directives": [] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/23/expected.json b/test/fixtures/experimental/uncategorised/23/expected.json index 605c1f789f..e84017c870 100644 --- a/test/fixtures/experimental/uncategorised/23/expected.json +++ b/test/fixtures/experimental/uncategorised/23/expected.json @@ -139,7 +139,6 @@ "column": 35 } }, - "all": false, "argument": { "type": "Identifier", "start": 28, @@ -163,4 +162,4 @@ } ] } -} \ No newline at end of file +} diff --git a/test/fixtures/experimental/uncategorised/25/expected.json b/test/fixtures/experimental/uncategorised/25/expected.json index b194ce1ae8..44b482a1e8 100644 --- a/test/fixtures/experimental/uncategorised/25/expected.json +++ b/test/fixtures/experimental/uncategorised/25/expected.json @@ -152,7 +152,6 @@ "column": 41 } }, - "all": false, "argument": { "type": "Identifier", "start": 34, @@ -179,4 +178,4 @@ } ] } -} \ No newline at end of file +}