mirror of
https://github.com/tc39/test262.git
synced 2025-10-18 14:23:54 +02:00
The phase field must precede the type field for negative tests to have a consistent style and be able to parse easier. Related to the goal of https://github.com/tc39/test262/issues/1997 Added this check to the linting script and updated tests accordingly.
15 lines
324 B
JavaScript
15 lines
324 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
|
|
negative:
|
|
phase: parse
|
|
type: SyntaxError
|
|
---*/
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
!!!
|