Commit graph

6890 commits

Author SHA1 Message Date
Agus Zubiaga
2e96aca0fd
Merge branch 'main' into specialize-exprs 2024-11-23 01:48:51 -03:00
Sam Mohr
c5b2e160ca
Ignore switch stmt ret_layout 2024-11-21 09:52:38 -08:00
Sam Mohr
899a7d3308
Add reporting tests for annotated functions with early returns 2024-11-21 04:38:58 -08:00
Sam Mohr
f857872903
Properly type constrain all function types 2024-11-21 04:09:47 -08:00
Sam Mohr
20ba4a92de
Merge branch 'main' into constrain-early-return-functions 2024-11-21 02:45:14 -08:00
Luke Boswell
34f5b61c3b
restore --no-link build pipeline 2024-11-21 16:20:05 +11:00
Anton-4
d123d0f256
back to old architecture display
arm64 causes issues on raspberry pi

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-11-20 20:04:25 +01:00
Anton-4
5ac7b193a9
Merge pull request #7229 from JRI98/remove_unused_ast_expr_expect
Remove unused ast::Expr::Expect
2024-11-19 13:32:45 +01:00
Richard Feldman
13efa083dd
Improve representation of record fields in mono 2024-11-18 21:36:39 -05:00
Sam Mohr
7ca305b5dc
Merge branch 'main' into constrain-early-return-functions 2024-11-18 15:04:34 -08:00
JRI98
de4179d5e1
Remove unused ast::Expr::Expect 2024-11-18 14:13:46 +00:00
JRI98
a18232bd8b
Cleanup after #7227 2024-11-18 11:04:07 +00:00
Joshua Warner
9ead801536
Remove expect-fx syntax and handling
This was never fully hooked up in platforms, and the plan is to replace the need for this with doing purity-inference on normal `expect` statements.

On the other hand, fuzzing is finding some bugs caused by having a hyphenated keyword, so this is a great time to go ahead and remove it!
2024-11-17 20:25:37 -08:00
Richard Feldman
073df686bc
Remove some dbg!s 2024-11-17 01:48:21 -05:00
Richard Feldman
7832a7f16f
Delete unnecessary specialize_types tests 2024-11-17 00:37:07 -05:00
Richard Feldman
2e8ea853f7
Fix floating-point monomorphization 2024-11-17 00:00:33 -05:00
Richard Feldman
dd031855a9
Revert "Try fixing a surprising constraint behavior"
This reverts commit ae2855628e.
2024-11-16 23:49:20 -05:00
Richard Feldman
ae2855628e
Try fixing a surprising constraint behavior 2024-11-16 23:48:57 -05:00
Richard Feldman
05e5fb4189
Fix a test, delete some dead code 2024-11-16 18:53:53 -05:00
Richard Feldman
219a0398a2
Introduce string-based mono expr tests 2024-11-16 18:31:32 -05:00
Richard Feldman
03370da6d6
Unwrap single-field records 2024-11-16 15:08:51 -05:00
Anton-4
7bf3701c9e
Merge pull request #7213 from roc-lang/list-splitting
Rename List.split to List.splitAt and add List.splitOn and List.splitOnList
2024-11-16 20:15:41 +01:00
Anton-4
19a716b8e9
Merge pull request #7225 from joshuawarner32/fuzzing-bugs
Fix some bugs found via fuzzing
2024-11-16 19:46:12 +01:00
Anton-4
47d810e059
fix example
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-11-16 19:30:47 +01:00
Richard Feldman
c883a6b5ac
Monomorphize record literals 2024-11-16 13:24:32 -05:00
Joshua Warner
550113df67
Fix some bugs found via fuzzing
* Keywords need to still be recognized if they're followed by ',' as well as a bunch of other operator characters. Notably missing from this list is '-', since that would mess up expect-fx currently.
* Smattering of niche cases of formatting bugs (either non-idempotency, leading to different code, or leading to unparsable code)
* One missing indent call in fmt_collection leading to a panic
2024-11-15 21:33:44 -08:00
Isaac Van Doren
35f221d9de
Merge branch 'main' of https://github.com/roc-lang/roc into list-splitting 2024-11-15 21:12:51 -06:00
Isaac Van Doren
d99c347998
rename Str.split 2024-11-15 21:12:23 -06:00
Isaac Van Doren
d0735f2661
remove List.split 2024-11-15 20:31:37 -06:00
Luke Boswell
8dbc9094de
Merge pull request #7176 from JRI98/unused_malformed
Remove unused malformed related variants
2024-11-15 15:22:26 +11:00
JRI98
a332acd7bf
Remove unused malformed related variants 2024-11-14 10:23:06 +00:00
Joshua Warner
d6b7ee2039
Prevent panics in worker threads from causing deadlocks
Occasionally, we'll run into panics during compilation which prior to this diff
would cause the compiler to hang indefinitely after printing the initial panic message.

Note that this simplified/renamed worker 'wakeup' system seems to leave around a bit of a code smell -
that this perhaps indicates we should rework/refactor in order to avoid the necessity of having separate wakeup and message stealing systems...
but one problem at a time!
2024-11-13 20:30:56 -08:00
Isaac Van Doren
cf05fe03e9
refactor implementation to avoid bug 2024-11-13 20:21:42 -06:00
Richard Feldman
074161733e
wip 2024-11-13 21:19:16 -05:00
Anton-4
0ab04c0d7e
remove mentions of --prebuilt-platform 2024-11-13 18:52:01 +01:00
Isaac Van Doren
efae03240e
fix ordering again 2024-11-12 22:12:02 -06:00
Isaac Van Doren
9a14991c8f
update mono tests 2024-11-12 21:58:00 -06:00
Isaac Van Doren
ae4d682806
change symbol ordering 2024-11-12 21:28:10 -06:00
Isaac Van Doren
8f0ca0c91c
fix numbering 2024-11-12 21:24:24 -06:00
Isaac Van Doren
f33a483502
merge main 2024-11-12 20:55:45 -06:00
Luke Boswell
9c1fe2c839
update mono 2024-11-13 10:46:34 +11:00
Luke Boswell
29012f7d7e
Merge remote-tracking branch 'remote/main' into effectful-builtins 2024-11-13 10:39:08 +11:00
Luke Boswell
69c2fef943
Merge remote-tracking branch 'remote/main' into list-splitting 2024-11-13 07:34:03 +11:00
Luke Boswell
4b4ab7bc0c
Merge remote-tracking branch 'remote/main' into record-suffix-warn-tweaks 2024-11-13 07:29:31 +11:00
Anton-4
9a3495cfae
minor cleanup 2024-11-12 19:16:20 +01:00
Luke Boswell
bc5e3f494e
fix stray dbg limiting single Thread, causes stack overflow Windows 2024-11-11 21:27:38 +11:00
Luke Boswell
09bd145845
update snapshot for newline_in_packages syntax test 2024-11-11 20:04:12 +11:00
Luke Boswell
9465b29376
fix test reporting 2024-11-11 19:47:55 +11:00
Luke Boswell
fc0f938e5c
fix test_reporting 2024-11-11 14:07:52 +11:00
Isaac Van Doren
f9ff551de1
update tests 2024-11-10 18:51:02 -06:00