mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
A recent commit introduced a document that enumerated acceptable values for the test "features" metadata tag. However, this list was incomplete, and maintaining it placed extra burden on the project owners. Restructure the document into a machine-readable format. Add entries for all previously-omitted values. Add in-line documentation with recommendations for maintenance of the file. Extend the project's linting tool to validate tests according to the document's contents.
11 lines
329 B
JavaScript
11 lines
329 B
JavaScript
^ expected errors | v input
|
|
// Copyright (C) 2017 Mike Pennisi. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
esid: sec-assignment-operators-static-semantics-early-errors
|
|
description: Minimal test
|
|
features: [async-functions, object-spread]
|
|
---*/
|
|
|
|
async function f({ ...a }) {}
|