Timothy Gu
643d3f37a4
Implement ES2016 check for simple parameter list in strict mode ( #106 )
...
* Slightly simplify logic
* Implement ES2016 check for simple parameter list in strict mode
See e.g. ECMA-262 7.0 14.1.2:
> It is a Syntax Error if ContainsUseStrict of FunctionBody is true and
> IsSimpleParameterList of FormalParameters is false.
Similar clauses cover arrow functions, generator functions, methods, and
generator methods, as well as async functions and async arrow functions.
2016-09-15 19:58:01 +02:00
..
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2016-09-15 19:58:01 +02:00
2015-11-03 01:19:35 +00:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-10-29 17:51:24 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-10-29 17:51:24 +00:00
2015-10-29 17:51:24 +00:00
2015-10-29 17:51:24 +00:00
2015-10-29 17:51:24 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-10-29 17:51:24 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-10-29 17:51:24 +00:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-11-03 01:19:35 +00:00
2015-10-05 16:40:43 +01:00
2015-10-05 16:40:43 +01:00
2015-11-03 01:19:35 +00:00
2015-10-29 17:51:24 +00:00
2015-08-11 00:59:15 +01:00
2015-11-03 01:19:35 +00:00
2015-08-11 00:59:15 +01:00
2015-08-11 00:59:15 +01:00