mirror of https://github.com/tc39/test262.git
9fccd9852e
Previously, the early error prohibiting duplicate entries in UniqueFormalParameters was only tested in terms of async functions. In one case, this was misattributed to UniqeFormalParameters and only enforced for strict mode code. Extend coverage to the other function-creating productions which include UniqueFormalParameters (i.e. method definitions and non-async arrow functions), and update the existing tests to more accurately describe the source of the error. |
||
---|---|---|
.. | ||
addition | ||
array | ||
arrow-function | ||
assignment | ||
async-arrow-function | ||
async-function | ||
async-generator | ||
await | ||
bitwise-and | ||
bitwise-not | ||
bitwise-or | ||
bitwise-xor | ||
call | ||
class | ||
comma | ||
compound-assignment | ||
concatenation | ||
conditional | ||
delete | ||
division | ||
does-not-equals | ||
dynamic-import | ||
equals | ||
exponentiation | ||
function | ||
generators | ||
greater-than | ||
greater-than-or-equal | ||
grouping | ||
import.meta | ||
in | ||
instanceof | ||
left-shift | ||
less-than | ||
less-than-or-equal | ||
logical-and | ||
logical-not | ||
logical-or | ||
modulus | ||
multiplication | ||
new | ||
new.target | ||
object | ||
postfix-decrement | ||
postfix-increment | ||
prefix-decrement | ||
prefix-increment | ||
property-accessors | ||
relational | ||
right-shift | ||
strict-does-not-equals | ||
strict-equals | ||
subtraction | ||
super | ||
tagged-template | ||
template-literal | ||
this | ||
typeof | ||
unary-minus | ||
unary-plus | ||
unsigned-right-shift | ||
void | ||
yield | ||
tco-pos.js |