Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/expressions/async-arrow-function/early-errors-arrow-formals-contains-super-call.js

raw
1 // Copyright 2016 Microsoft, Inc. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Brian Terlson <[email protected]>
6 esid: pending
7 description: It is a syntax error if FormalParameters contains SuperCall is true
8 negative:
9 phase: parse
10 type: SyntaxError
11 ---*/
12
13 throw "Test262: This statement should not be evaluated.";
14
15 async(foo = super()) => {}