Commit Graph

6626 Commits

Author SHA1 Message Date
Chris Penner
441e6fee3f
Include constructors in labeled deps of decls rendering docs (#4225)
* Include constructors in labeled deps of decls rendering docs

* Rename decl dependency combinators for a bit more clarity
2023-07-26 13:52:04 -06:00
Dan Freeman
888abab993
Ensure TVar values can be compared for equality 2023-07-25 18:12:54 +02:00
Paul Chiusano
bb4b62ade0 Merge remote-tracking branch 'origin/pchiusano/use-insertion' into pchiusano/use-insertion 2023-07-24 09:56:22 -04:00
Paul Chiusano
126ed3c4a7 revamp round trip tests 2023-07-24 09:55:58 -04:00
Paul Chiusano
9cbc3ada56 fix type printer tests 2023-07-21 04:18:29 -04:00
pchiusano
906eeec63b automatically run ormolu 2023-07-21 07:26:49 +00:00
Paul Chiusano
b5ad95cdd5 fix remaining transcript refresh weirdness 2023-07-21 03:20:23 -04:00
Paul Chiusano
c37708befe add type signature to ensure function gets same inferred type 2023-07-21 02:53:04 -04:00
Paul Chiusano
7509e3efa1 refresh transcripts 2023-07-21 02:12:22 -04:00
Paul Chiusano
13c545d201 Merge remote-tracking branch 'origin/trunk' into pchiusano/use-insertion 2023-07-21 01:51:35 -04:00
Paul Chiusano
6b7360959b fix #3239 and add regression test 2023-07-21 01:45:51 -04:00
Paul Chiusano
fd19b2c4f9 don't use raw string syntax within lists, etc, only in bindings 2023-07-21 00:59:28 -04:00
Paul Chiusano
fda2ebea69 Fix #3973 and add regression test 2023-07-21 00:55:12 -04:00
Paul Chiusano
3a607de286 ormolu 2023-07-20 23:21:12 -04:00
Paul Chiusano
b716984714 more soft hanging after 'with' for @SystemFw 2023-07-20 23:20:29 -04:00
Paul Chiusano
e25d0965bb ormolufy 2023-07-20 22:57:04 -04:00
Paul Chiusano
66dc3b0c3d fix issue reported by @stew where top level do blocks would infer syntactically invalid type 2023-07-20 22:56:13 -04:00
pchiusano
90ade2dcd1 automatically run ormolu 2023-07-20 23:01:04 +00:00
Paul Chiusano
6d627d791c move binary op printing above softhang logic 2023-07-20 18:46:28 -04:00
Paul Chiusano
04a5bd2988 lists now put trailing ] on newline when broken onto multiple lines
also now referring to list type in delimeters
2023-07-20 17:59:00 -04:00
Paul Chiusano
6ca9f877b0 when breaking a tuple onto multiple lines, put closing paren on its own line 2023-07-20 17:35:56 -04:00
Paul Chiusano
0a4448df36 fix issue with tuple printing 2023-07-20 17:32:29 -04:00
Paul Chiusano
48822e5e8e allow use clause insertion at top level bindings in certain cases 2023-07-20 17:14:08 -04:00
Paul Chiusano
f837c5b0a8 remove needless reannotation 2023-07-20 10:29:23 -04:00
pchiusano
abf3442968 automatically run ormolu 2023-07-20 13:57:08 +00:00
Paul Chiusano
f4c49a40ef better soft hang treatment for last arg of function application
breaks the soft hung element before the list of args
2023-07-20 09:55:33 -04:00
Paul Chiusano
2f90cf4876 Merge remote-tracking branch 'origin/pchiusano/use-insertion' into pchiusano/use-insertion 2023-07-19 21:09:00 -04:00
Paul Chiusano
087157ad24 fix issue reported by @stew 2023-07-19 21:08:38 -04:00
pchiusano
5253a8cb13 automatically run ormolu 2023-07-19 22:19:10 +00:00
Paul Chiusano
b39fbc8e0a Merge remote-tracking branch 'origin/pchiusano/use-insertion' into pchiusano/use-insertion 2023-07-19 18:17:22 -04:00
Paul Chiusano
67cdc56ec2 more futzing with soft hang logic 2023-07-19 18:16:50 -04:00
pchiusano
8326a41580 automatically run ormolu 2023-07-19 21:39:11 +00:00
Paul Chiusano
665f5d9df1 soft hangs for bindings that are a single function application that ends in a soft hang 2023-07-19 17:37:45 -04:00
Paul Chiusano
9064ddade3 fix quadratic performance issue - don't repeatedly call printAnnotate 2023-07-19 17:15:27 -04:00
pchiusano
3d76431983 automatically run ormolu 2023-07-19 20:02:06 +00:00
Paul Chiusano
5be04c398e fix #3936 use soft hang of do more aggressively 2023-07-19 15:50:17 -04:00
Paul Chiusano
0b49f58fc5 use moar soft hangs 2023-07-19 14:57:13 -04:00
Paul Chiusano
b01a103e68 use spaces consistently in handlers 2023-07-19 14:56:37 -04:00
Paul Chiusano
1498ebb1f8 fix #4214 and be less aggressive about pushing down use clauses 2023-07-19 14:02:17 -04:00
Mitchell Rosen
059f6346a3 ⅄ trunk → 23-06-26-reuse-unique-type-guids-v2 2023-07-19 13:07:38 -04:00
Mitchell Rosen
4127117451 move placement of unique type guids back to where they were for
backwards compat with transcripts
2023-07-19 12:58:29 -04:00
Paul Chiusano
52dfdf9bb1 wip on being less aggressive at pushing down use clauses 2023-07-18 23:54:22 -04:00
pchiusano
14d71ad3a8 automatically run ormolu 2023-07-18 21:36:07 +00:00
Paul Chiusano
d6d62b2cbe added some comments 2023-07-18 17:27:24 -04:00
Paul Chiusano
23fcf58c44 switch to just calling avoidShadowing directly 2023-07-18 17:16:29 -04:00
Paul Chiusano
752543b5c8 Merge remote-tracking branch 'origin/trunk' into fix/525 2023-07-18 17:01:03 -04:00
Paul Chiusano
e11adfc236 fix and regression test improvement 2023-07-18 16:42:22 -04:00
Mitchell Rosen
cbb2631332 ⅄ trunk → push-down-add-builtin-type-lookup 2023-07-18 13:53:02 -04:00
Mitchell Rosen
5443781e7c finish tying together unique type guid reuse 2023-07-18 12:59:37 -04:00
Mitchell Rosen
23d6568bfe implement resolveUnresolvedModifier 2023-07-18 11:26:28 -04:00