Commit graph

7342 commits

Author SHA1 Message Date
Luke Boswell
8540aa1a14
Merge pull request #7321 from shua/fromutf8
DO NOT MERGE update Str.fromUtf8 error type
2025-01-08 07:56:40 +11:00
Anton-4
6ccc828ee5
correct error message 2025-01-07 16:32:16 +01:00
Timon
716374cfc0
Fixed Issue #6929 Escape unicode when inspecting a Str (#7411)
* Fixed Issue #6929 Escape unicode when inspecting Str

added AUTHORS

improved comment

* update generated mono tests

* fixed formatting

* fixed merge conflicts
2025-01-06 18:52:50 +01:00
Luke Boswell
89ef225f5b
Merge pull request #7468 from joshuawarner32/fuzzing-bugs-9
And... more fuzzing bugs!
2025-01-06 14:28:18 +11:00
Joshua Warner
9fcefb3fd4
Remove panic to appease the panic tracker for now 2025-01-05 16:49:08 -08:00
Joshua Warner
090473434d
Move backtracking for implements to specific spaces case that it's actually needed for, to avoid excess parsing work in extreme cases 2025-01-05 15:10:13 -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
Joshua Warner
b7ab25ee2e
Move minimize logging to a new dump_syntax target 2025-01-05 15:10:12 -08:00
Luke Boswell
b67a43bb5d
Merge pull request #7467 from gamebox/issue-7090
Support '??' syntax for optional record fields
2025-01-06 09:36:30 +11:00
Anthony Bullard
3295f80c30
Address feedback 2025-01-04 17:01:12 -06:00
Anthony Bullard
a7321e086a
Remove println 2025-01-04 14:35:07 -06:00
Anthony Bullard
a24fe430b4
Support '??' syntax for optional record fields 2025-01-04 14:26:20 -06:00
Anthony Bullard
ee089db748
Remove superfluous println 2025-01-04 06:36:28 -06:00
Luke Boswell
3d4dd5b583
Merge pull request #7439 from imclerran/issue-7425
Add List.walk! function
2025-01-04 15:37:46 +11:00
Anthony Bullard
89b7900d7a
Migrate type vars to snake case (Redo) 2025-01-03 19:52:21 -06:00
Ian McLerran
acf8e33e2a
Merge branch 'main' into issue-7425 2025-01-03 14:00:30 -06:00
Ian McLerran
c360fca87e
update mono tests 2025-01-03 13:58:24 -06:00
Anton-4
2263d8821a
Merge pull request #7421 from gamebox/issue-7415-parens-and-commas
Parens and Commas application syntax
2025-01-03 14:15:40 +01:00
Sam Mohr
786488fc34
Merge pull request #7408 from jaredramirez/jared/improve-module-error
Handle parse error for bad head exposes list
2025-01-03 05:10:07 -05:00
Anthony Bullard
210695ec29
Update can tests with PatternApplyStyle after rebase 2025-01-02 18:11:15 -06:00
Anthony Bullard
a8dd0b8805
Move comment to correct location and make line comment 2025-01-02 17:59:32 -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
389cc940e0
Git rid of MigrationFlags constructor 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
21aae74be2
Merge branch 'main' into issue-7425 2025-01-02 12:58:35 -05:00
Sam Mohr
91ed6a5a8e
Merge pull request #7452 from smores56/remove-backpassing
Remove backpassing
2025-01-02 00:51:15 -05:00
Brendan Hansknecht
7927de7e41
Merge pull request #7449 from roc-lang/reserve-smarter
if the user reserves a specific number of elements, trust them
2025-01-01 20:51:24 -08:00
Sam Mohr
cbcbfd3265
Remove backpassing 2025-01-01 17:44:56 -08:00
Sam Mohr
b8040bf6a2
Merge pull request #7446 from joshuawarner32/fuzzing-bugs-8
Fix yet more fuzzing bugs!
2025-01-01 18:29:42 -05:00
Brendan Hansknecht
78530141a1
fix tests 2025-01-01 13:35:08 -08:00
Brendan Hansknecht
26bd2d437e
if the user reserves a specific number of elements, trust them 2025-01-01 13:00:34 -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
ea7d856e16
fixup type ann 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
Brendan Hansknecht
8001de5468
Merge pull request #7444 from roc-lang/better-atomic
Improve roc atomic refcounting by using first bit as threadlocal
2025-01-01 09:31:54 -08: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
bf3fae4827
Fix disappearing spaces around implements keyword 2025-01-01 11:41:17 -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