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 |
|
Joshua Warner
|
dbbd097708
|
Always use to_node for TypeAnnotation::As
|
2024-12-28 22:31:25 -05:00 |
|
Joshua Warner
|
d8d0b6ebb1
|
Disallow simplifying empty assignment of dbg
|
2024-12-28 22:29:46 -05:00 |
|
Joshua Warner
|
59fe0f06ea
|
Make sure to use keyword rather than word for parsing keywords
|
2024-12-28 22:29:45 -05:00 |
|
Joshua Warner
|
9e6c249dca
|
Disallow any keyword followed by an exclaimation mark
|
2024-12-28 22:29:45 -05:00 |
|
Joshua Warner
|
0acd59b4d6
|
Treat crash keyword uniformly
|
2024-12-28 22:29:42 -05:00 |
|
Joshua Warner
|
f4698e1517
|
Fix can panic with unbound type variables
|
2024-12-28 10:39:05 -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
|
9a76a8d2ce
|
Add snapshot test
|
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
|
8f0566a55f
|
Fix crash with doubly-nested parens in patterns
|
2024-12-24 14:08:52 -05:00 |
|
Joshua Warner
|
941c6c4fe3
|
Fix exponential behavior in parsing function types in tuples
|
2024-12-24 11:20:36 -05:00 |
|
Joshua Warner
|
f1f6cb4625
|
Add function type test
|
2024-12-23 14:34:42 -05:00 |
|
Joshua Warner
|
9499dcec4b
|
Disallow implements even with spaces around it
|
2024-12-23 14:34:41 -05:00 |
|
Joshua Warner
|
787fec6b3f
|
Fix issue with multibackpassing in closure in binop
|
2024-12-23 14:34:38 -05:00 |
|
Joshua Warner
|
512be85f9a
|
Fix parens around as in tag union
|
2024-12-21 20:14:19 -05:00 |
|
Joshua Warner
|
7ba5135602
|
Fix as in apply type
|
2024-12-21 20:14:19 -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 |
|
Joshua Warner
|
ad1e3369c5
|
Disallow expect! as an identifier
|
2024-12-21 20:14:18 -05:00 |
|
Joshua Warner
|
249125297e
|
Add missing indent call
|
2024-12-21 20:14:15 -05:00 |
|
Joshua Warner
|
36d4d37e18
|
Fix panic check for parens_newlines_before_as
|
2024-12-16 18:32:25 -08:00 |
|
Joshua Warner
|
c4077dc971
|
Fix when branches to use lifting as well
|
2024-12-16 18:23:41 -08:00 |
|
Joshua Warner
|
e068ae6b5a
|
Fix nested as
|
2024-12-16 18:23:40 -08:00 |
|
Joshua Warner
|
887a43ff55
|
Fix comments in str interpolations
|
2024-12-16 18:23:37 -08:00 |
|
Joshua Warner
|
7b09b15dea
|
Fix formatting of body when pattern is multi-line
|
2024-12-15 18:33:58 -08:00 |
|
Joshua Warner
|
01dda78271
|
Add missing indent call
|
2024-12-15 18:33:58 -08:00 |
|
Joshua Warner
|
4a19926425
|
Relax implements handling in patterns
|
2024-12-15 18:33:58 -08:00 |
|
Joshua Warner
|
d6d396b887
|
Fix 'implements' variable in types
|
2024-12-15 18:33:57 -08:00 |
|
Joshua Warner
|
cc611533e0
|
Fix formatting of literals in closure args
|
2024-12-15 18:33:57 -08:00 |
|
Joshua Warner
|
61fb9e45fb
|
Fix handling of spaces in record types
|
2024-12-15 18:33:57 -08:00 |
|