-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] Disallow dups in non-simple parameter list
Re-use the `(hasSimpleParams)` property of the `funct` object (recently introduced to implement ES2016 restrictions on the "use strict" directive) to honor the early error for duplicate parameters.
- Loading branch information
1 parent
030d6b4
commit 4a5a4a5
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters