mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 15:04:43 +02:00
Update class public fields tags in non-generated test files
This commit is contained in:
parent
a488271931
commit
6f8c89dfd1
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- computed name interpreted as property
|
description: ASI test in field declarations -- computed name interpreted as property
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var obj = {}
|
var obj = {}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- computed name interpreted as string index
|
description: ASI test in field declarations -- computed name interpreted as string index
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var C = class {
|
var C = class {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- error when computed name interpreted as index
|
description: ASI test in field declarations -- error when computed name interpreted as index
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- error when generator interpreted as multiplication
|
description: ASI test in field declarations -- error when generator interpreted as multiplication
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public, generators]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
|
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
@ -6,7 +6,7 @@ description: >
|
|||||||
static class fields forbid PropName 'constructor' (no early error for
|
static class fields forbid PropName 'constructor' (no early error for
|
||||||
ComputedPropertyName)
|
ComputedPropertyName)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: PropName
|
Static Semantics: PropName
|
||||||
...
|
...
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
description: >
|
description: >
|
||||||
Cannot redefine a non-configurable, non-writable "prototype" property
|
Cannot redefine a non-configurable, non-writable "prototype" property
|
||||||
esid: runtime-semantics-class-definition-evaluation
|
esid: runtime-semantics-class-definition-evaluation
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
info: |
|
info: |
|
||||||
// This test file also tests the ComputedPropertyName won't trigger the
|
// This test file also tests the ComputedPropertyName won't trigger the
|
||||||
// following early error:
|
// following early error:
|
||||||
|
@ -28,7 +28,7 @@ info: |
|
|||||||
1. Let fieldName be the result of evaluating ClassElementName.
|
1. Let fieldName be the result of evaluating ClassElementName.
|
||||||
2. ReturnIfAbrupt(fieldName).
|
2. ReturnIfAbrupt(fieldName).
|
||||||
|
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
@ -30,7 +30,7 @@ info: |
|
|||||||
5. If initializer is not empty, then
|
5. If initializer is not empty, then
|
||||||
a.Let initValue be ? Call(initializer, receiver).
|
a.Let initValue be ? Call(initializer, receiver).
|
||||||
|
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- computed name interpreted as property
|
description: ASI test in field declarations -- computed name interpreted as property
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var obj = {}
|
var obj = {}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- computed name interpreted as string index
|
description: ASI test in field declarations -- computed name interpreted as string index
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
class C {
|
class C {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- error when computed name interpreted as index
|
description: ASI test in field declarations -- error when computed name interpreted as index
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- error when generator interpreted as multiplication
|
description: ASI test in field declarations -- error when generator interpreted as multiplication
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public, generators]
|
||||||
negative:
|
negative:
|
||||||
phase: early
|
phase: early
|
||||||
type: SyntaxError
|
type: SyntaxError
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
/*---
|
/*---
|
||||||
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
|
description: ASI test in field declarations -- field with PropertyName "in" interpreted as index
|
||||||
esid: sec-automatic-semicolon-insertion
|
esid: sec-automatic-semicolon-insertion
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
var x = 0;
|
var x = 0;
|
||||||
|
@ -6,7 +6,7 @@ description: >
|
|||||||
static class fields forbid PropName 'constructor' (no early error for
|
static class fields forbid PropName 'constructor' (no early error for
|
||||||
ComputedPropertyName)
|
ComputedPropertyName)
|
||||||
esid: sec-class-definitions-static-semantics-early-errors
|
esid: sec-class-definitions-static-semantics-early-errors
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
info: |
|
info: |
|
||||||
Static Semantics: PropName
|
Static Semantics: PropName
|
||||||
...
|
...
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
description: >
|
description: >
|
||||||
Cannot redefine a non-configurable, non-writable "prototype" property
|
Cannot redefine a non-configurable, non-writable "prototype" property
|
||||||
esid: runtime-semantics-class-definition-evaluation
|
esid: runtime-semantics-class-definition-evaluation
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
info: |
|
info: |
|
||||||
// This test file also tests the ComputedPropertyName won't trigger the
|
// This test file also tests the ComputedPropertyName won't trigger the
|
||||||
// following early error:
|
// following early error:
|
||||||
|
@ -28,7 +28,7 @@ info: |
|
|||||||
1. Let fieldName be the result of evaluating ClassElementName.
|
1. Let fieldName be the result of evaluating ClassElementName.
|
||||||
2. ReturnIfAbrupt(fieldName).
|
2. ReturnIfAbrupt(fieldName).
|
||||||
|
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
@ -28,7 +28,7 @@ info: |
|
|||||||
5. If initializer is not empty, then
|
5. If initializer is not empty, then
|
||||||
a. Let initValue be ? Call(initializer, receiver).
|
a. Let initValue be ? Call(initializer, receiver).
|
||||||
|
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
@ -34,7 +34,7 @@ info: |
|
|||||||
5. If initializer is not empty, then
|
5. If initializer is not empty, then
|
||||||
a.Let initValue be ? Call(initializer, receiver).
|
a.Let initValue be ? Call(initializer, receiver).
|
||||||
|
|
||||||
features: [class-fields]
|
features: [class, class-fields-public]
|
||||||
---*/
|
---*/
|
||||||
|
|
||||||
function f() {
|
function f() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user