Commit graph

626 commits

Author SHA1 Message Date
Matthieu Pizenberg
1e58c9b246
Fix canonicalization of top level recursive function
Signed-off-by: Matthieu Pizenberg <matthieu.pizenberg@gmail.com>
2025-12-08 10:13:51 +01:00
Richard Feldman
d95549de43
Merge remote-tracking branch 'origin/main' into roc-program-stack-overflow 2025-12-07 19:33:14 -05:00
Luke Boswell
3d818c326d
Merge remote-tracking branch 'remote/main' into fx-behvaiour-tests 2025-12-08 09:34:26 +11:00
Richard Feldman
fb742d2ecd
Revert a test for now 2025-12-07 17:34:12 -05:00
Richard Feldman
949799477c
Add List.count_if 2025-12-07 13:32:14 -05:00
Richard Feldman
3934fca617
Fix tests 2025-12-06 13:07:52 -05:00
Richard Feldman
b2034b944b
Revise some error messages 2025-12-06 13:07:52 -05:00
Richard Feldman
c2a33a8313
Revise stack overflow error message 2025-12-06 13:07:52 -05:00
Richard Feldman
e3e9b2b135
Add div by 0 checks 2025-12-06 13:07:52 -05:00
Richard Feldman
7faec88e29
Add stack overflow handling for roc programs 2025-12-06 13:07:52 -05:00
Richard Feldman
278656943f
Test for stack overflows in roc programs 2025-12-06 13:07:52 -05:00
Richard Feldman
6a947a0d81
Fix env bug 2025-12-06 08:03:57 -05:00
Richard Feldman
e5355b0fa4
Restore some deleted tests 2025-12-06 00:30:45 -05:00
Richard Feldman
81e34985e7
Fix a stack overflow 2025-12-05 19:16:27 -05:00
Richard Feldman
54110ce783
Merge remote-tracking branch 'origin/main' into ranges 2025-12-04 18:46:57 -05:00
Richard Feldman
b3c2744ed2
wasm fixes etc. 2025-12-04 17:24:08 -05:00
Matthieu Pizenberg
6611e2f2f8
Add test/fx file
Signed-off-by: Matthieu Pizenberg <matthieu.pizenberg@gmail.com>
2025-12-04 18:42:20 +01:00
Richard Feldman
4ce8ec086d
Fix various things 2025-12-04 12:10:56 -05:00
Richard Feldman
325ca2b6e1
Merge remote-tracking branch 'origin/fix-inspect' into ranges 2025-12-04 11:24:53 -05:00
Richard Feldman
677ff62007
Ban enumFromInt(0) 2025-12-04 10:50:42 -05:00
Richard Feldman
ac69c1b01e
Revise generalization docs and add a test 2025-12-04 10:15:05 -05:00
Richard Feldman
df980b284f
Add a new test, fix some tests 2025-12-04 01:01:39 -05:00
Luke Boswell
71cd2cd2f4
try fix 2025-12-04 16:56:27 +11:00
Richard Feldman
8278ccd335
Improve flaky test fix 2025-12-04 00:33:25 -05:00
Richard Feldman
42d4adc9c0
Fix flaky tests 2025-12-03 23:37:13 -05:00
Richard Feldman
6a481b0e81
Improve package-qualified import handling 2025-12-03 23:33:03 -05:00
Richard Feldman
f5094c6428
Fix tests, update snapshots 2025-12-03 23:02:46 -05:00
Richard Feldman
15c3dda28b
Merge remote-tracking branch 'origin/main' into ranges 2025-12-03 22:45:27 -05:00
Richard Feldman
0f88959630
Fix some spurious error reporting 2025-12-03 21:38:20 -05:00
Luke Boswell
6d40d80e8c
improve docs, parsing, and error reporting 2025-12-04 12:31:25 +11:00
Luke Boswell
b25427b90c
initial implementatio of FX "test mode" behavioural tests 2025-12-04 11:59:52 +11:00
Richard Feldman
67c6ab7b42
Fix inspect bug 2025-12-03 19:51:34 -05:00
Jared Ramirez
1bab912af0
Error if using nominal types outside origin module 2025-12-03 17:10:22 -05:00
Anton-4
b578eea38f
--allow-errors flag (#8557)
* only run with errors if flag

* added --allow-errors

* doc comment
2025-12-03 19:41:10 +01:00
Richard Feldman
a939fb4a06
Generalize numbers inside lambdas 2025-12-03 13:13:05 -05:00
Anton-4
0a11193943
Add missing fx tests (#8556)
* add missing fx tests

* cleanup
2025-12-03 18:00:32 +01:00
Richard Feldman
a0171786bb
Fix range bug 2025-12-03 08:03:24 -05:00
Richard Feldman
e164fb547a
Update snapshots 2025-12-02 23:05:51 -05:00
Richard Feldman
0bce4bfb3a
Update snapshots 2025-12-02 20:36:59 -05:00
Richard Feldman
8587a51082
Make all builtins return open tag unions for Errs 2025-12-02 15:58:32 -05:00
Richard Feldman
7af8c74358
Update test sizes 2025-12-02 12:39:14 -05:00
Richard Feldman
8fb0eecc10
Merge pull request #8542 from roc-lang/inspect
Add `inspect`
2025-12-02 09:38:56 -05:00
Richard Feldman
c4b5fff357
Make inspect be used on nested types too 2025-12-02 07:25:57 -05:00
Richard Feldman
1afd1d1927
Merge pull request #8541 from roc-lang/open-union
Fix some open tag union type printing
2025-12-02 03:52:55 -05:00
Richard Feldman
bc0b4e4067
Finish getting inspect working 2025-12-02 01:31:17 -05:00
Luke Boswell
f26605b211
Merge pull request #8520 from dialectician4/list_builtins_drop_at_sublist
List builtins drop at, sublist, take/drop first/last
2025-12-02 17:16:06 +11:00
Richard Feldman
222a227a4a
Pluralize arity more nicely 2025-12-02 01:14:11 -05:00
Richard Feldman
fe5100415d
Fix some type writing bugs 2025-12-02 01:06:06 -05:00
Richard Feldman
9771a7063b
Consistently use TypeWriter for writing types 2025-12-02 00:21:09 -05:00
Luke Boswell
65d767be58
Merge pull request #8539 from roc-lang/open-union
Fix open tag union in `main!`
2025-12-02 16:03:27 +11:00