Diogo Franco 899a754bef Correct the validator for ArrayPattern (#5722)
The elements of the `elements` array should be either `Identifier`, `Pattern` or `RestElement`, but the validator was requiring `Expression`. It happened to work for `Identifier` since an `Identifier` is an `Expression`, but not for the other possible pattern elements.
2017-05-10 10:50:01 +09:00
..
2017-03-04 10:46:01 -05:00
2017-03-04 10:46:01 -05:00
2017-03-04 10:46:01 -05:00
2017-01-14 09:48:52 -05:00
2017-03-04 10:46:01 -05:00
2017-05-07 15:58:24 -07:00