Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Implement ES2016 check for simple parameter list in strict mode #106

Merged
merged 2 commits into from
Sep 15, 2016
Merged

Implement ES2016 check for simple parameter list in strict mode #106

merged 2 commits into from
Sep 15, 2016

Commits on Sep 4, 2016

  1. Slightly simplify logic

    TimothyGu committed Sep 4, 2016
    Configuration menu
    Copy the full SHA
    87e2658 View commit details
    Browse the repository at this point in the history
  2. 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.
    TimothyGu committed Sep 4, 2016
    Configuration menu
    Copy the full SHA
    8238134 View commit details
    Browse the repository at this point in the history