Jon Gjengset f96e56c3a0 Avoid extra comma in vertical single-field struct patterns (#1403)
* Add (failing) test for #1397

* Fix for #1397

Specifically, we end up double-adding a trailing comma for single-member
struct patterns that are arranged vertically. One is added by write_list
(since such structs return true for needs_trailing_separator), and
another is added by the if in the old code.
2017-03-26 18:16:45 +13:00
..
2017-03-22 09:25:26 +13:00
2017-03-22 09:25:26 +13:00
2016-08-29 08:57:27 +09:00
2017-03-07 09:50:41 +13:00
2017-03-07 09:50:41 +13:00
2017-03-22 09:25:26 +13:00
2017-02-23 13:15:48 +13:00
2016-09-27 12:38:17 -05:00
2017-03-22 09:25:26 +13:00
2017-03-22 09:25:26 +13:00
2017-03-22 09:25:26 +13:00
2017-03-22 09:25:26 +13:00
2017-02-23 13:15:48 +13:00
WIP
2017-02-21 16:35:05 +13:00
2017-02-26 15:09:31 +01:00
2017-03-22 09:25:26 +13:00
2017-03-07 09:50:41 +13:00