2018-04-25 19:41:20 +02:00
|
|
|
// Copyright (C) 2018 André Bargull. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
esid: sec-async-arrow-function-definitions
|
|
|
|
description: >
|
|
|
|
It is a SyntaxError if FormalParameters' default expressions contains await.
|
|
|
|
negative:
|
|
|
|
phase: parse
|
|
|
|
type: SyntaxError
|
2022-10-15 00:35:28 +02:00
|
|
|
features: [async-functions]
|
2018-04-25 19:41:20 +02:00
|
|
|
---*/
|
|
|
|
|
2018-10-11 16:59:24 +02:00
|
|
|
$DONOTEVALUATE();
|
2018-04-25 19:41:20 +02:00
|
|
|
|
|
|
|
async(a = await => {}) => {};
|