Commit graph

35967 commits

Author SHA1 Message Date
Richard Feldman
b9cd1ef782
Try re-evaluating binops 2025-12-01 17:20:22 -05: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
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
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
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
Richard Feldman
6a1585d913
Merge pull request #8514 from roc-lang/bugfix2
Fix .to_str() bug, add some regression tests
2025-11-30 14:03:43 -05:00
Luke Boswell
ef3910b188
fix fromUtf8Lossy ownership 2025-12-01 05:37:15 +11:00
Richard Feldman
c78329e68b
Fix .to_str() bug, add some regression tests 2025-11-30 13:11:01 -05:00
Luke Boswell
0d2336a8ff
fix unary apply 2025-12-01 05:06:56 +11:00
Luke Boswell
69b6f95de9
fix List.concat refcounting 2025-12-01 04:55:56 +11:00
Luke Boswell
7f3e088503
fix refcounting for record fields 2025-12-01 04:45:29 +11:00
Luke Boswell
6b2bbd4cc4
new snapshot fo List.contains 2025-12-01 04:33:02 +11:00
Luke Boswell
04fb9d705a
WIP 2025-12-01 04:31:27 +11:00
Fabian Schmalzried
c0657280a0
Builtins: add some repl snapshot tests for list get and list first 2025-11-30 15:01:47 +01:00
Fabian Schmalzried
9388bbcac0
Builtin: Change List.get error to OutOfBounds 2025-11-30 14:38:11 +01:00
Andres Villegas
9a5eb3c9d0
Adds List.last and List.single builtins (#8509)
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-11-30 14:03:31 +01:00
Anton-4
4dbe4edc60
fix ubuntu segfault fx tests (#8511) 2025-11-30 12:51:24 +01:00
Luke Boswell
ba7750c163
ownership semantic docs and comptime check 2025-11-30 21:39:41 +11:00
Luke Boswell
b171f6c2c9
refcount fixes 2025-11-30 21:01:18 +11:00
Luke Boswell
f9340ebfad
fix refcount for closure captures 2025-11-30 20:23:29 +11:00
Luke Boswell
cbb888f698
fix incref for slices 2025-11-30 20:15:27 +11:00
Luke Boswell
e32dcbebdf
refcount inner values 2025-11-30 18:27:39 +11:00
Luke Boswell
d6102d5675
fix iterator invalidation in type instantiation 2025-11-30 15:53:18 +11:00