Skip to content
Snippets Groups Projects
Commit ffdb869e authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Rename fields to elements in src/class-elements/syntax templates

parent 46e03c38
No related branches found
No related tags found
No related merge requests found
...@@ -12,5 +12,5 @@ template: syntax/invalid ...@@ -12,5 +12,5 @@ template: syntax/invalid
features: [async-functions] features: [async-functions]
---*/ ---*/
//- fields //- elements
async constructor() {} async constructor() {}
...@@ -12,5 +12,5 @@ template: syntax/invalid ...@@ -12,5 +12,5 @@ template: syntax/invalid
features: [generators] features: [generators]
---*/ ---*/
//- fields //- elements
* constructor() {} * constructor() {}
...@@ -12,5 +12,5 @@ template: syntax/invalid ...@@ -12,5 +12,5 @@ template: syntax/invalid
features: [generators] features: [generators]
---*/ ---*/
//- fields //- elements
get constructor() {} get constructor() {}
...@@ -12,5 +12,5 @@ template: syntax/invalid ...@@ -12,5 +12,5 @@ template: syntax/invalid
features: [generators] features: [generators]
---*/ ---*/
//- fields //- elements
set constructor() {} set constructor() {}
...@@ -14,5 +14,5 @@ negative: ...@@ -14,5 +14,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
class C { class C {
/*{ fields }*/ /*{ elements }*/
} }
...@@ -14,5 +14,5 @@ negative: ...@@ -14,5 +14,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
}; };
...@@ -9,5 +9,5 @@ features: [class] ...@@ -9,5 +9,5 @@ features: [class]
---*/ ---*/
class C { class C {
/*{ fields }*/ /*{ elements }*/
} }
...@@ -9,5 +9,5 @@ features: [class] ...@@ -9,5 +9,5 @@ features: [class]
---*/ ---*/
var C = class { var C = class {
/*{ fields }*/ /*{ elements }*/
}; };
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