Joshua Warner
|
d43ad92789
|
Introduce proper type for TypeVar's, mark anything not a lowercase ident as malformed
|
2025-01-14 19:30:33 -08:00 |
|
Joshua Warner
|
61bc0b3464
|
Resolve TODO around handling non-plain strings
|
2025-01-11 20:24:34 -08:00 |
|
Joshua Warner
|
e0ef01fa82
|
Fix two canonicalization crashes: try() and overflowed tuple indexes
|
2025-01-11 20:24:34 -08:00 |
|
Joshua Warner
|
7d464a2989
|
add failing test for ignored fields canonicalization
|
2025-01-11 20:24:33 -08:00 |
|
Joshua Warner
|
408379f8d3
|
Canonicalize the pattern in annotations
|
2025-01-11 20:24:30 -08:00 |
|
Joshua Warner
|
875e355b68
|
handle record access when checking for block string literals
|
2025-01-11 11:05:54 -08:00 |
|
Joshua Warner
|
6d2b635dbc
|
Don't turn pnc apply dbg into DbgStmt
|
2025-01-11 11:05:35 -08:00 |
|
Joshua Warner
|
6d324590da
|
Fix pipe indents in when
|
2025-01-11 11:05:35 -08:00 |
|
Joshua Warner
|
1cc97fcfa7
|
Fix else spacing
|
2025-01-11 11:05:34 -08:00 |
|
Joshua Warner
|
6b08f42d02
|
Fix more cases of when in guard
|
2025-01-11 11:05:34 -08:00 |
|
Joshua Warner
|
903b792fd3
|
Fix when in when guard
|
2025-01-11 11:05:33 -08:00 |
|
Joshua Warner
|
586dc3486f
|
Fix formatting of negative numbers in pnc apply patterns
|
2025-01-11 11:05:33 -08:00 |
|
Joshua Warner
|
2e4e4bb957
|
Fix placement of comma after implements in pnc apply patterns
|
2025-01-11 11:05:33 -08:00 |
|
Joshua Warner
|
0471993428
|
Further relax indentation of implements ability chains
|
2025-01-10 21:10:58 -08:00 |
|
Joshua Warner
|
7a1b3b8257
|
Allow funky indentation of implements clause, since we know it must be coming anyway
|
2025-01-10 21:10:57 -08:00 |
|
Joshua Warner
|
2bd03ef16b
|
Fix pnc apply in unary negate
|
2025-01-10 21:10:56 -08:00 |
|
Joshua Warner
|
05033ac40b
|
allow arrow to be an expr terminator in when guards
|
2025-01-10 21:10:56 -08:00 |
|
Joshua Warner
|
13a70c060d
|
Preserve info about whether a given dbg stmt was pnc or not, at least for now
|
2025-01-10 21:10:55 -08:00 |
|
Sam Mohr
|
528d1d2b69
|
Merge pull request #7497 from smores56/new-interpolation-syntax
Move to new interpolation syntax
|
2025-01-10 15:25:12 -08:00 |
|
Sam Mohr
|
eb1b5ffa26
|
Move to new interpolation syntax
|
2025-01-10 10:29:20 -08:00 |
|
Joshua Warner
|
9f395e033d
|
Fix pnc apply pattern lift spaces
|
2025-01-09 21:06:08 -08:00 |
|
Joshua Warner
|
7acf9c5e5d
|
Fix zero-length dbg arg list
|
2025-01-09 20:25:20 -08:00 |
|
Joshua Warner
|
8deca25c5e
|
Make sure to add parens if a PncApply dbg stmt becomes a space-separated Apply
|
2025-01-09 19:22:09 -08:00 |
|
Joshua Warner
|
0438c17503
|
Fix pnc args multiine in the presence of final comments
|
2025-01-08 21:25:39 -08:00 |
|
Luke Boswell
|
cc4d01f63e
|
allow(clippy::match_single_binding)
|
2025-01-09 12:27:25 +11:00 |
|
Sam Mohr
|
2150ee2219
|
Remove Task from Roc
|
2025-01-08 17:00:40 -08:00 |
|
Joshua Warner
|
6edfc0aa90
|
Fix double-wrapping of spaces before implements opaque keyword by making them distinct
|
2025-01-05 15:10:13 -08:00 |
|
Joshua Warner
|
8955f3e124
|
Fix indentation of record updates and calculation of return indentation
|
2025-01-05 15:10:12 -08:00 |
|
Joshua Warner
|
35ffbcd16b
|
Fix where precedence vs funcs
|
2025-01-05 15:10:12 -08: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
|
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
|
6fcc367af4
|
Fix where precedence vs apply
|
2025-01-01 14:59:20 -05:00 |
|
Joshua Warner
|
7d91b01c5a
|
Fix where clauses in tuple types with trailing commas
|
2025-01-01 14:59:11 -05:00 |
|
Joshua Warner
|
9ff1b630a8
|
Fix accidental NoProgress return in if, to avoid exponential parsing issue
|
2025-01-01 12:40:54 -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 |
|
Joshua Warner
|
2f420d8e4e
|
Ensure we indent before writing implements keyword
|
2025-01-01 10:47:20 -05:00 |
|
Joshua Warner
|
d9ad34592c
|
Fix indentation of single-line ifs
|
2025-01-01 10:47:16 -05:00 |
|
Joshua Warner
|
7fd97dec72
|
Implement lifting for abilities
|
2025-01-01 10:03:08 -05:00 |
|
Joshua Warner
|
4da6bb0be6
|
Fix weird indentation issue with indented else
|
2025-01-01 10:03:05 -05:00 |
|
Joshua Warner
|
835c246c56
|
Fix formatting bug with multline function type alias
|
2024-12-31 19:52:23 -05:00 |
|
Sam Mohr
|
0e2f16887a
|
Merge branch 'main' into fuzzing-bugs-6
|
2024-12-30 15:21:31 -05:00 |
|
Luke Boswell
|
eda4db0589
|
Merge pull request #7422 from joshuawarner32/fix-can-issue-1
Fix can panic with unbound type variables
|
2024-12-30 14:11:46 +11:00 |
|
Joshua Warner
|
b87635e34b
|
Add test that failed on main
|
2024-12-28 22:31:34 -05:00 |
|
Joshua Warner
|
99efcee275
|
Fix outdenting
|
2024-12-28 22:31:33 -05:00 |
|