test262/test/language/statements
jugglinmike 9fccd9852e Improve coverage for UniqueFormalParameters (#2043)
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.
2019-01-23 14:07:19 -02:00
..
async-function
async-generator Generate tests 2018-12-21 15:47:01 -05:00
block Generate tests 2018-12-20 12:49:50 -05:00
break
class Improve coverage for UniqueFormalParameters (#2043) 2019-01-23 14:07:19 -02:00
const Generate tests 2018-12-21 15:47:01 -05:00
continue
debugger
do-while
empty
expression
for Generate tests 2018-12-21 15:47:01 -05:00
for-await-of
for-in Generate tests 2018-12-21 15:47:01 -05:00
for-of Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
function Generate tests 2018-12-21 15:47:01 -05:00
generators Generate tests 2018-12-21 15:47:01 -05:00
if
labeled Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
let Generate tests 2018-12-21 15:47:01 -05:00
return
switch Regenerate tests 2018-12-20 12:53:31 -05:00
throw
try Generate tests 2018-12-21 15:47:01 -05:00
variable Generate tests 2018-12-21 15:47:01 -05:00
while
with