mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 23:44:27 +02:00
Deleting previously valid generated tests
This commit is contained in:
parent
539c001941
commit
62b8fce389
@ -1,29 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/class-elements/grammar-private-field-optional-chaining.case
|
|
||||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
|
||||||
/*---
|
|
||||||
description: PrivateName after '?.' is not valid syntax (class expression)
|
|
||||||
esid: prod-ClassElement
|
|
||||||
features: [class-fields-private, optional-chaining, class]
|
|
||||||
flags: [generated]
|
|
||||||
negative:
|
|
||||||
phase: parse
|
|
||||||
type: SyntaxError
|
|
||||||
info: |
|
|
||||||
Updated Productions
|
|
||||||
|
|
||||||
MemberExpression[Yield]:
|
|
||||||
MemberExpression[?Yield].PrivateName
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
|
||||||
|
|
||||||
var C = class {
|
|
||||||
#m = 'test262';
|
|
||||||
|
|
||||||
access(obj) {
|
|
||||||
return obj?.#m;
|
|
||||||
}
|
|
||||||
};
|
|
@ -1,29 +0,0 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
|
||||||
// - src/class-elements/grammar-private-field-optional-chaining.case
|
|
||||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
|
||||||
/*---
|
|
||||||
description: PrivateName after '?.' is not valid syntax (class declaration)
|
|
||||||
esid: prod-ClassElement
|
|
||||||
features: [class-fields-private, optional-chaining, class]
|
|
||||||
flags: [generated]
|
|
||||||
negative:
|
|
||||||
phase: parse
|
|
||||||
type: SyntaxError
|
|
||||||
info: |
|
|
||||||
Updated Productions
|
|
||||||
|
|
||||||
MemberExpression[Yield]:
|
|
||||||
MemberExpression[?Yield].PrivateName
|
|
||||||
|
|
||||||
---*/
|
|
||||||
|
|
||||||
|
|
||||||
$DONOTEVALUATE();
|
|
||||||
|
|
||||||
class C {
|
|
||||||
#m = 'test262';
|
|
||||||
|
|
||||||
access(obj) {
|
|
||||||
return obj?.#m;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user