Commit graph

35985 commits

Author SHA1 Message Date
Richard Feldman
648b376e79
Don't prematurely default to Dec 2025-12-01 19:53:20 -05:00
Richard Feldman
5ea451a635
Merge branch 'main' into abs 2025-12-01 19:53:12 -05:00
Richard Feldman
5168d2193d
Merge pull request #8536 from roc-lang/fix-binop-return-type
Don't let-generalize number literals after all
2025-12-01 19:52:53 -05:00
Richard Feldman
a8ef60fc62
Expand test coverage 2025-12-01 19:00:49 -05:00
Richard Feldman
2c560c4055
Add abs() and abs_diff() 2025-12-01 18:53:21 -05:00
Richard Feldman
10c84e5862
Don't let-generalize number literals 2025-12-01 18:43:01 -05:00
Richard Feldman
7eb8bed360
Merge pull request #8535 from roc-lang/fix-uaf
Fix use-after-free
2025-12-01 18:26:06 -05:00
Richard Feldman
b9cd1ef782
Try re-evaluating binops 2025-12-01 17:20:22 -05:00
Richard Feldman
fb7d7acf9f
Add regression tests 2025-12-01 17:06:09 -05:00
Richard Feldman
f4b8c09d84
Fix single-segment string decref 2025-12-01 16:37:45 -05:00
Richard Feldman
1c596058b5
Use str.zig more 2025-12-01 16:28:23 -05:00
Richard Feldman
2a3008cb66
Merge remote-tracking branch 'origin/main' into fix-uaf 2025-12-01 16:22:49 -05:00
Richard Feldman
cf22caec86
Use an arena for static-lifetime constants 2025-12-01 16:17:25 -05:00
Luke Boswell
b9d7371cd0
Merge pull request #8527 from roc-lang/fix-str-split-on
Fix semantics for `Str.split_on`
2025-12-02 07:47:06 +11:00
Luke Boswell
22e77f9b9c
Merge pull request #8528 from mpizenberg/modulus
Add modulus for integer types
2025-12-02 07:46:51 +11:00
Luke Boswell
25e2e0a403
add test for fx split leak 2025-12-02 07:16:29 +11:00
Luke Boswell
949102f53d
Merge pull request #8526 from roc-lang/fix-poly-num-lits
Fix polymorphic number literals
2025-12-02 07:07:09 +11:00
Richard Feldman
cd081536a8
Fix drop_prefix 2025-12-01 14:15:55 -05:00
Richard Feldman
968e8776e2
Merge pull request #8531 from roc-lang/for_each
Add `List.for_each!`
2025-12-01 13:07:00 -05:00
Richard Feldman
ac90f2394b
Remove a bunch of code duplication 2025-12-01 11:52:06 -05:00
Anton-4
7e0d2b8ca2
fix valgrind conditional jump 2025-12-01 17:29:04 +01:00
Richard Feldman
adfa93d77e
Add List.for_each! 2025-12-01 11:25:47 -05:00
Matthieu Pizenberg
48394bf780
Add modulus to integer types
Signed-off-by: Matthieu Pizenberg <matthieu.pizenberg@gmail.com>
2025-12-01 17:17:39 +01:00
Richard Feldman
2ac12ee621
Merge pull request #8529 from roc-lang/from_str
Add from_str to number types
2025-12-01 11:08:35 -05:00
Richard Feldman
99d4758d81
Add from_str to number types 2025-12-01 10:28:10 -05:00
Artur Domurad
0d7451e3e8
formatter: do not remove unit type from function type args (#8519)
* do not remove unit type from type args

* update snapshot tests
2025-12-01 14:13:53 +01:00
Luke Boswell
b9dd8cf338
fix semantics for Str.split_on 2025-12-01 21:29:53 +11:00
Luke Boswell
a11862781a
clarify Try.is_err snapshot 2025-12-01 20:41:47 +11:00
Luke Boswell
3b91a0e753
fix polymorphic number literals 2025-12-01 20:40:53 +11:00
Luke Boswell
5e229e2060
Merge pull request #8523 from roc-lang/fix-try
fix `Try.is_ok` and `Try.is_err`
2025-12-01 20:07:55 +11:00
Luke Boswell
9d621ea7fe
fix try is_ok is_err returning wrong values 2025-12-01 19:33:23 +11:00
Richard Feldman
1048ddeae9
Merge pull request #8512 from FabHof/builtins2
Builtin: Change List.get error to OutOfBounds
2025-12-01 01:47:21 -05:00
Luke Boswell
4a48ec9718
Merge pull request #8508 from roc-lang/more-fixxes
Fix Iterator Invalidation in Type Instantiation
2025-12-01 17:32:52 +11:00
Luke Boswell
d8b89fa474
a temporary hack for app/platform type unification 2025-12-01 16:55:09 +11:00
Luke Boswell
aa0e57eca2
fix layout store ordering for tag_union_variants 2025-12-01 16:19:41 +11:00
Luke Boswell
7357da1e18
WIP 2025-12-01 15:40:46 +11:00
Luke Boswell
b9496c8d90
add debug assertion 2025-12-01 14:54:39 +11:00
Luke Boswell
aa726d4d1a
WIP 2025-12-01 14:37:42 +11:00
Luke Boswell
d0e6a2d4e9
debug assertion to prevent self-redirects which cause infinite loops 2025-12-01 13:55:11 +11:00
Luke Boswell
1aa4bbe872
fixup 2025-12-01 12:43:58 +11:00
Luke Boswell
d61b2b0065
Merge remote-tracking branch 'remote/main' into more-fixxes 2025-12-01 12:42:58 +11:00
Luke Boswell
12ed464f88
WIP 2025-12-01 12:39:20 +11:00
Richard Feldman
711952927a
Merge pull request #8515 from roc-lang/bugfix
Fix polymorphic binding
2025-11-30 19:11:25 -05:00
Richard Feldman
fede35c9c2
Merge branch 'main' into bugfix 2025-11-30 18:27:11 -05:00
Richard Feldman
d757e9341c
Impove some tests 2025-11-30 18:25:50 -05:00
Richard Feldman
4001f66f63
Delete plan doc 2025-11-30 18:23:22 -05:00
Richard Feldman
81c679ef8d
Fix tests 2025-11-30 17:56:02 -05:00
Richard Feldman
b06ff37811
Use a better approach 2025-11-30 15:45:53 -05:00
Luke Boswell
56bf848ce9
fix fromUtf8Lossy ownership 2025-12-01 06:15:38 +11:00
Luke Boswell
cc17ea02dc
fix joinWith decref for string elements 2025-12-01 06:15:24 +11:00