Commit graph

23 commits

Author SHA1 Message Date
Sébastien Besnier
1f4e0985e6 cargo fmt 2020-11-26 08:45:09 +01:00
Sébastien Besnier
b0a8e96d34 remove unreachable! in favor of debug_assert!(false); 2020-11-26 08:39:01 +01:00
Richard Feldman
6d6077db27 Drop some dbg! calls 2020-11-25 23:07:19 -05:00
Sébastien Besnier
1ebac5e332 format correctly comment in empty record annotation 2020-11-25 16:06:51 +01:00
Sébastien Besnier
aa3ce94f86 fix formating newlines 2020-11-25 15:44:58 +01:00
Sébastien Besnier
7361f62902 format properly multiline type annotations 2020-11-25 15:15:32 +01:00
Sébastien Besnier
b1548ff4e8 refactor tag union and record type annotations formatting 2020-11-21 20:36:26 +01:00
Sébastien Besnier
52bace2c25 store the final comments in the AST for record & tag union annotations 2020-11-21 20:36:26 +01:00
Sébastien Besnier
c692319fb9 correctly format multiline record type annotation 2020-11-21 20:36:26 +01:00
Sébastien Besnier
c4bc98a81f remove fmt_condition_spaces in favor of fmt_comments_only 2020-11-15 10:36:50 +01:00
Sébastien Besnier
25192fca10 make fmt_comments_only more general 2020-11-15 10:26:14 +01:00
Richard Feldman
3eea2c934e Fix an annotation formatting regression 2020-07-18 22:17:41 -04:00
Richard Feldman
8b53ec15fe Change guard to DestructType 2020-07-18 12:42:04 -04:00
Folkert
6bc657616d clean up comments 2020-07-12 00:37:05 +02:00
Folkert
d7b2dc7a3b fix test failures caused by def reordering 2020-07-11 02:01:23 +02:00
Folkert
46639c5081 cleanup and comments 2020-07-11 01:51:38 +02:00
Folkert
ba38d4ec14 cleanup 2020-07-10 23:54:00 +02:00
Folkert
d6bdb45c82 Back in working order 2020-07-10 23:54:00 +02:00
Folkert
9aa05fdc4c WIP 2020-07-10 23:54:00 +02:00
Folkert
36ccafd8ab cleanup 2020-07-10 23:54:00 +02:00
Folkert
d61b8c88a1 implement Formattable for Pattern 2020-07-10 23:54:00 +02:00
Folkert
e18d3bbfe4 use Parens type in pattern formatting 2020-07-10 23:54:00 +02:00
Folkert
1ac1dd1f8f it does help when you add the new file 2020-07-09 18:05:17 +02:00