prettier/tests/array_spread
Christopher Chedeau a123e31e82 Workaround flow parser bug with spread in arrays (#285)
The current output of

```js
[...a, ...b]
```

is

```js
[...a, , ...b]
```

because flow parses it as

```
ArrayExpression(SpreadExpression, null, SpreadExpression)
```

This is a bug in the flow parser. Until it gets fixed, we can workaround it by deleting the `null` after a `SpreadExpression`.
2017-01-18 12:14:14 -05:00
..
__snapshots__ Workaround flow parser bug with spread in arrays (#285) 2017-01-18 12:14:14 -05:00
jsfmt.spec.js Workaround flow parser bug with spread in arrays (#285) 2017-01-18 12:14:14 -05:00
multiple.js Workaround flow parser bug with spread in arrays (#285) 2017-01-18 12:14:14 -05:00
test.js Add testing 2016-12-23 19:51:53 +00:00