Nathan Shively-Sanders
4c4316da72
Fail spec parsing lambdas on parameter missing a =
...
Fail speculative parsing of arrow function expressions whenever it has a
parameter with an initialiser that is missing '='. Ordinarily this is
allowed for better error recovery in the language service, but for
speculative parsing, the errors can compound. When the initialiser is an
error, and when the '=>' is missing (which is also allowed), what is
putatively an arrow function may actually be something else.
For example, `(a / 8) + function ()
{ }` is currently parsed as if someone had intended to write
`(a = /8)+function()/) => { }` but they forgot the `=` of the
initialiser, the `=>` of the lambda, forgot to close the regular
expression, and mistakenly inserted a newline right after the regular
expression.
2017-09-12 14:01:49 -07:00
..
2017-09-09 05:52:52 -07:00
2017-09-07 16:38:17 -07:00
2017-09-11 11:17:14 -07:00
2017-09-11 11:17:14 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-09 16:30:06 -07:00
2017-09-11 10:38:46 -07:00
2017-09-11 10:38:46 -07:00
2017-09-11 10:38:46 -07:00
2017-09-09 13:06:28 -07:00
2017-09-09 13:06:28 -07:00
2017-09-09 13:06:28 -07:00
2017-09-07 16:22:16 -07:00
2017-09-07 16:22:16 -07:00
2017-09-07 16:22:16 -07:00
2017-09-08 15:52:02 -07:00
2017-09-08 15:52:02 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-11 11:21:35 -07:00
2017-09-11 11:21:35 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-12 14:01:49 -07:00
2017-09-12 14:01:49 -07:00
2017-09-12 14:01:49 -07:00
2017-09-12 14:01:49 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:30:19 -07:00
2017-09-07 14:30:19 -07:00
2017-09-07 14:30:19 -07:00
2017-09-07 14:30:19 -07:00
2017-09-07 14:30:19 -07:00
2017-09-07 14:30:19 -07:00
2017-09-07 14:31:20 -07:00
2017-09-07 14:31:20 -07:00