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 Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
async-generator Generate tests 2018-12-21 15:47:01 -05:00
block Generate tests 2018-12-20 12:49:50 -05:00
break Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
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 Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
debugger Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
do-while Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
empty
expression Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
for Generate tests 2018-12-21 15:47:01 -05:00
for-await-of Merge pull request #1801 from mathiasbynens/issue-1634 2018-11-13 17:23:09 -05:00
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 Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
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 Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
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 Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
with Merge pull request #1801 from mathiasbynens/issue-1634 2018-11-13 17:23:09 -05:00