Anthony Bullard
|
a24fe430b4
|
Support '??' syntax for optional record fields
|
2025-01-04 14:26:20 -06:00 |
|
Anthony Bullard
|
8690a02d8f
|
Fix unstable formatting with nested applies
|
2025-01-02 17:59:12 -06:00 |
|
Anthony Bullard
|
2bb3b84ce7
|
Clippy
|
2025-01-02 17:59:12 -06:00 |
|
Anthony Bullard
|
8c77a54b4f
|
Address review feedback
|
2025-01-02 17:59:09 -06:00 |
|
Anthony Bullard
|
3b0db07fa1
|
PNC for Patterns, stabilize formatting
|
2025-01-02 17:57:15 -06:00 |
|
Anthony Bullard
|
bac165fd99
|
Make better named arg for fmt_apply using PNC
|
2025-01-02 16:49:08 -06:00 |
|
Anthony Bullard
|
af39ce57fb
|
Parens and Commas application syntax
|
2025-01-02 16:49:08 -06:00 |
|
Sam Mohr
|
cbcbfd3265
|
Remove backpassing
|
2025-01-01 17:44:56 -08:00 |
|
Joshua Warner
|
f721569421
|
Force newline for multi-line closures where the inner element is not outdentable
|
2025-01-01 14:59:21 -05:00 |
|
Joshua Warner
|
14d6f7c92a
|
Fix spaces in the middle of where branches
|
2025-01-01 14:59:21 -05:00 |
|
Joshua Warner
|
37e7caa1aa
|
Parenthesize closures in unary ops and pre-emptively disallow multi-backpassing in such closures, to avoid formatter trouble later
|
2025-01-01 12:38:28 -05:00 |
|
Joshua Warner
|
14b18f4213
|
Properly implement lifting for if and when
|
2025-01-01 12:04:06 -05:00 |
|
Joshua Warner
|
2918e26b38
|
Fix unary op parens in the case of closure
|
2025-01-01 11:47:46 -05:00 |
|
Luke Boswell
|
f7dbf850b9
|
Merge pull request #7409 from joshuawarner32/fuzzing-bugs-5
Fix another batch of parsing/formatting bugs found in fuzzing
|
2024-12-28 17:36:03 +11:00 |
|
Anthony Bullard
|
c70ceb4f98
|
Issue 7089: ?? operator
|
2024-12-26 10:53:47 -06:00 |
|
Joshua Warner
|
2464ce6856
|
Fix formatting issue with closures hiding in unary ops
|
2024-12-24 15:05:20 -05:00 |
|
Joshua Warner
|
787fec6b3f
|
Fix issue with multibackpassing in closure in binop
|
2024-12-23 14:34:38 -05:00 |
|
Joshua Warner
|
bab5e65480
|
Fix case of expr in binop that ends in closure, when it doesn't start on a new line
|
2024-12-21 20:14:18 -05:00 |
|
Joshua Warner
|
769baa9f63
|
Add indent call after when's if
|
2024-12-21 20:14:18 -05:00 |
|
Anthony Bullard
|
66529503ff
|
Fix snake case formatting
|
2024-12-17 05:40:42 -06:00 |
|
Joshua Warner
|
c4077dc971
|
Fix when branches to use lifting as well
|
2024-12-16 18:23:41 -08:00 |
|
Joshua Warner
|
887a43ff55
|
Fix comments in str interpolations
|
2024-12-16 18:23:37 -08:00 |
|
Joshua Warner
|
cc611533e0
|
Fix formatting of literals in closure args
|
2024-12-15 18:33:57 -08:00 |
|
Joshua Warner
|
6695af474e
|
Handle comments after return value
|
2024-12-15 18:33:56 -08:00 |
|
Joshua Warner
|
7b9aa59d64
|
Fix outdenting in closures
|
2024-12-15 18:33:53 -08:00 |
|
Joshua Warner
|
307b0d9ea9
|
Fix closure indentation and indented-else handling in niche pattern case
|
2024-12-15 18:33:52 -08:00 |
|
Joshua Warner
|
24ba9dbeba
|
Add parens around implements identifier to be conservative
|
2024-12-15 18:33:52 -08:00 |
|
Joshua Warner
|
8f2a10d52d
|
Lift spaces in backpassing
|
2024-12-15 18:33:51 -08:00 |
|
Joshua Warner
|
abde9e86b1
|
lift spaces in backpassing (fixes #7364)
|
2024-12-15 18:33:48 -08:00 |
|
Joshua Warner
|
2389040b39
|
Fix return backpassing case
|
2024-12-13 13:45:12 -08:00 |
|
Joshua Warner
|
02e07f95e7
|
Fix when indent in the presence of weird multiline patterns
|
2024-12-13 13:45:12 -08:00 |
|
Joshua Warner
|
5a6e0f546b
|
Generalize RecordAccess special-cases to include TupleAccess
|
2024-12-13 13:45:10 -08:00 |
|
Joshua Warner
|
d66f51db7b
|
Don't mix spaces before/after the field separator
|
2024-12-13 13:45:10 -08:00 |
|
Joshua Warner
|
2857833c35
|
Normalize return's 'after'
|
2024-12-13 13:45:10 -08:00 |
|
Joshua Warner
|
17849ca556
|
Fully normalize in expr record-like things, during formatting
|
2024-12-13 13:45:10 -08:00 |
|
Joshua Warner
|
f5cd0568dd
|
Fix newlines after multiline apply func pattern (#7342)
|
2024-12-13 13:45:09 -08:00 |
|
Joshua Warner
|
3f2117403e
|
Fix bug found in the wild via fuzzing, move fuzzing job to the end
|
2024-12-11 18:39:15 -08:00 |
|
Joshua Warner
|
e2d839c050
|
Remove commented code
|
2024-12-05 18:56:18 -08:00 |
|
Joshua Warner
|
82bf4b19d8
|
Fix up LowLevelTry after rebase
|
2024-12-05 18:54:26 -08:00 |
|
Joshua Warner
|
f833ac9a6b
|
Fix formatting of Apply nodes with zero args, which the repl generates
|
2024-12-05 18:54:23 -08:00 |
|
Joshua Warner
|
9a9b96dc69
|
Fix clippy
|
2024-12-05 18:54:22 -08:00 |
|
Joshua Warner
|
e620e1c462
|
Fix warnings
|
2024-12-05 18:54:22 -08:00 |
|
Joshua Warner
|
fc74b67d86
|
Flesh out expr_lift_spaces, in particular handling DbgStmt properly
|
2024-12-05 18:54:19 -08:00 |
|
Joshua Warner
|
cae47cf2a6
|
Fix expr_lift_spaces of Closure
|
2024-12-05 18:54:17 -08:00 |
|
Joshua Warner
|
ea1ecb9e68
|
Fix lifting of backpassing
|
2024-12-05 18:54:12 -08:00 |
|
Joshua Warner
|
ab4c96bc81
|
Fix indent call in when fmt
|
2024-12-05 18:54:11 -08:00 |
|
Joshua Warner
|
8c25c9aaf7
|
Fix newline after dbg formatting
|
2024-12-05 18:54:10 -08:00 |
|
Joshua Warner
|
4a0dce714b
|
Unify if/when condition formatting
|
2024-12-05 18:54:09 -08:00 |
|
Joshua Warner
|
84b3969648
|
Adjust parens around patterns in annotations
|
2024-12-05 18:54:08 -08:00 |
|
Joshua Warner
|
edcdd99f59
|
Record updates
|
2024-12-05 18:54:07 -08:00 |
|