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

remove unused template item for arguments

parent 8d55711b
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 21 deletions
......@@ -19,7 +19,7 @@ features: [async-iteration]
var callCount = 0;
// Stores a reference `ref` for case evaluation
async function* ref(/*{ params }*/) {
async function* ref() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -20,7 +20,7 @@ features: [async-iteration]
var callCount = 0;
// Stores a reference `ref` for case evaluation
var ref;
ref = async function*(/*{ params }*/) {
ref = async function*() {
/*{ body }*/
callCount = callCount + 1;
};
......
......@@ -23,7 +23,7 @@ features: [async-iteration]
var callCount = 0;
var obj = {
async *method(/*{ params }*/) {
async *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -8,7 +8,7 @@ esid: sec-asyncgenerator-definitions-evaluation
info: |
AsyncGeneratorExpression : async [no LineTerminator here] function * BindingIdentifier
( FormalParameters ) { AsyncGeneratorBody }
[...]
7. Let closure be ! AsyncGeneratorFunctionCreate(Normal, FormalParameters,
AsyncGeneratorBody, funcEnv, strict).
......@@ -20,7 +20,7 @@ features: [async-iteration]
var callCount = 0;
// Stores a reference `ref` for case evaluation
var ref;
ref = async function* g(/*{ params }*/) {
ref = async function* g() {
/*{ body }*/
callCount = callCount + 1;
};
......
......@@ -42,7 +42,7 @@ features: [async-iteration]
var callCount = 0;
class C {
static async *method(/*{ params }*/) {
static async *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -41,7 +41,7 @@ features: [async-iteration]
var callCount = 0;
class C {
async *method(/*{ params }*/) {
async *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
class C {
static *method(/*{ params }*/) {
static *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
class C {
*method(/*{ params }*/) {
*method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
class C {
static method(/*{ params }*/) {
static method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
class C {
method(/*{ params }*/) {
method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -43,7 +43,7 @@ features: [async-iteration]
var callCount = 0;
var C = class {
static async *method(/*{ params }*/) {
static async *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -43,7 +43,7 @@ features: [async-iteration]
var callCount = 0;
var C = class {
async *method(/*{ params }*/) {
async *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
var C = class {
static *method(/*{ params }*/) {
static *method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
var C = class {
*method(/*{ params }*/) {
*method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
var C = class {
static method(/*{ params }*/) {
static method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
var C = class {
method(/*{ params }*/) {
method() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
// Stores a reference `ref` for case evaluation
function ref(/*{ params }*/) {
function ref() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -16,7 +16,7 @@ info: |
var callCount = 0;
// Stores a reference `ref` for case evaluation
var ref;
ref = function(/*{ params }*/) {
ref = function() {
/*{ body }*/
callCount = callCount + 1;
};
......
......@@ -15,7 +15,7 @@ info: |
var callCount = 0;
// Stores a reference `ref` for case evaluation
function* ref(/*{ params }*/) {
function* ref() {
/*{ body }*/
callCount = callCount + 1;
}
......
......@@ -16,7 +16,7 @@ info: |
var callCount = 0;
// Stores a reference `ref` for case evaluation
var ref;
ref = function*(/*{ params }*/) {
ref = function*() {
/*{ body }*/
callCount = callCount + 1;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment