Skip to content
Snippets Groups Projects
  1. Feb 04, 2019
  2. Jan 31, 2019
  3. Jan 30, 2019
  4. Jan 28, 2019
  5. Jan 25, 2019
  6. Jan 24, 2019
  7. Jan 23, 2019
    • jugglinmike's avatar
      Improve coverage for UniqueFormalParameters (#2043) · 9fccd985
      jugglinmike authored
      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.
      9fccd985
Loading