Daniel Tschinder
1b612148bf
"yield" parsing inside function name and parameters ( #689 )
...
* Use parseFunctionParams to parse method parameters
* [funct] Set this.state.inGenerator before parsing the function name/params
This allows "yield" inside generator parameters to be actually
parsed as a yield expression
* [funct] Disallow yield in function parameters
* [arrow] "yield" can start an arrow function (e.g. "yield => {}")
* [arrow] Disallow YieldExpressions inside arrow parameters.
* [err msg] Disallow yield as fn name in strict mode using checkReservedWord.
So Babylon throws "yield is a reserved word" instead of
a custom "Binding yield in strict mode"
* [err msg] "X is reserved in strict mode" should have precedence over "X is reserved", since it is more specific.
This was observable if "checkKeywords" is true and the word is both a keyword and a reserved
word in strict mode
* Disallow "yield" as an identifier inside generators
* [tests] Add tests, update wrong esprima tests and enable disabled esprima tests
* [tests] Move uncategorized tests to es2015/yield
* [tests] Update test262 whitelist
* Fix regression introduced by 8c77073
* [tests] Update flow whitelist
* Fix flow errors
2017-11-01 16:05:18 +01:00
..
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-09-22 12:02:20 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-10-12 10:38:26 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-10-12 10:38:26 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-04-03 22:27:43 +02:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-04-03 22:27:43 +02:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-04-03 22:27:43 +02:00
2017-04-03 22:27:43 +02:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-10-14 16:10:09 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-10-14 16:10:09 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-10-14 16:10:09 -04:00
2016-10-14 16:10:09 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-10-14 16:10:09 -04:00
2016-10-14 16:10:09 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-09-22 12:02:20 -04:00
2016-09-22 12:02:20 -04:00
2016-09-22 12:02:20 -04:00
2016-08-23 17:11:01 -04:00
2016-10-14 16:10:09 -04:00
2016-10-14 16:10:09 -04:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2016-08-23 17:11:01 -04:00
2016-09-22 12:02:20 -04:00
2016-09-22 12:02:20 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2017-05-10 21:26:38 +02:00
2016-08-23 17:11:01 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2017-05-02 14:39:21 -04:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2016-10-12 10:38:26 -04:00
2016-09-22 12:02:20 -04:00
2016-08-23 17:11:01 -04:00
2017-04-03 22:27:43 +02:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2017-03-21 16:55:54 -04:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2016-08-23 17:11:01 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:37:58 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-03-19 22:03:11 +01:00
2017-03-21 16:55:54 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2016-10-12 10:38:26 -04:00
2016-08-23 17:11:01 -04:00
2016-08-23 17:11:01 -04:00
2017-01-12 22:38:41 +01:00
2017-01-12 22:38:41 +01:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-05-02 14:39:21 -04:00
2017-01-12 22:38:41 +01:00
2017-03-19 22:03:11 +01:00
2017-05-02 14:39:21 -04:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2017-05-02 14:39:21 -04:00
2016-11-09 16:29:02 +01:00
2017-05-02 14:39:21 -04:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-11-09 16:29:02 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2016-12-01 21:03:13 +01:00
2017-01-14 15:38:30 +01:00
2017-05-02 14:39:21 -04:00