Commit graph

4827 commits

Author SHA1 Message Date
Richard Feldman
0105fa4c4a
Merge pull request #3733 from rtfeldman/expect-fx
Expect fx
2022-08-09 23:03:37 -04:00
Ayaz Hafiz
40c73b4138
Add more names 2022-08-09 18:13:25 -07:00
Ayaz Hafiz
bfd49299e0
Clippy 2022-08-09 17:45:52 -07:00
Ayaz Hafiz
5ebb85481c
Update reporting tests 2022-08-09 17:23:27 -07:00
Ayaz Hafiz
1c31cd22e6
Merge branch 'i3444' of https://github.com/rtfeldman/roc into i3444 2022-08-09 16:52:48 -07:00
Ayaz Hafiz
ee188b8e85
use layout_from_recursive_union to generate lambda set recursive layouts 2022-08-09 16:45:35 -07:00
Ayaz Hafiz
4d5331557c
Add more tests for recursie lambda sets 2022-08-09 16:12:30 -07:00
Ayaz Hafiz
86c6d339c3
Choose merged closure var based on whether it's recursive or not 2022-08-09 16:08:24 -07:00
Ayaz Hafiz
3f1e11f920
Recursive vars in occurs check can happen anywhere in the chain 2022-08-09 16:07:59 -07:00
Ayaz Hafiz
e35a571aef
cargo fmt repl 2022-08-09 16:01:40 -07:00
Ayaz Hafiz
43d26b0a28
Handle recursive loops through pointers in repl 2022-08-09 16:01:16 -07:00
Ayaz Hafiz
f20d1ac59a
Typo 2022-08-09 15:30:28 -07:00
Ayaz Hafiz
021cc6e506
Support non-nullable-unwrapped recursive lambda sets 2022-08-09 15:17:16 -07:00
Ayaz Hafiz
c1a7e7893b
Simplify combine 2022-08-09 15:17:09 -07:00
Ayaz Hafiz
4bfac11624
Remove mono test in favor of gen tests 2022-08-09 14:58:57 -07:00
Ayaz Hafiz
1a09f3e0e6
Make sure checking captures layouts chases recursion pointers 2022-08-09 14:57:59 -07:00
Ayaz Hafiz
ba2768c9b0
Build member layouts for recursive lambda sets 2022-08-09 14:44:09 -07:00
Ayaz Hafiz
a4bb6879bc
Resolve recursive pointer lambda set layouts when unpacking captures 2022-08-09 14:43:36 -07:00
Ayaz Hafiz
549b00d327
Handle recursive variables in building lambda set representations 2022-08-09 14:11:02 -07:00
Ayaz Hafiz
e1fb21fc59
Reproduce recursive lambda set inference 2022-08-09 14:09:57 -07:00
Ayaz Hafiz
d22bd274fd
Check for infinite types of introduced variables before bodies 2022-08-09 14:09:51 -07:00
Ayaz Hafiz
d2015d51f2
Print all argument in tags when their argument lengths mismatch
Closes #3553
2022-08-09 12:46:53 -07:00
Ayaz Hafiz
8c87ae50c9
Wrap applied types in parens as appropriate 2022-08-09 12:31:01 -07:00
Ayaz Hafiz
3db07a5697
Reproduce #3553 2022-08-09 12:22:31 -07:00
Ayaz Hafiz
9f206e89f4
Turn on LLVM wasm tests for gen_abilities
Closes #3708
2022-08-09 09:06:04 -07:00
Ayaz Hafiz
b572b0b287
Turn on abilities tests for gen-wasm
Closes #3708
2022-08-09 09:04:34 -07:00
Folkert
0c284f2bbf
clippy 2022-08-09 15:44:08 +02:00
Folkert de Vries
4cb5de4428
Merge pull request #3732 from rtfeldman/roc-load-cleanup
roc load cleanup
2022-08-09 15:37:13 +02:00
Folkert
7c9b1897bb
fully canonicalize expect-fx 2022-08-09 14:50:24 +02:00
Folkert
9a352440de
parse expect-fx 2022-08-09 14:19:12 +02:00
Folkert
bcbc8b4d50
basic canonicalization 2022-08-09 13:59:24 +02:00
Folkert
15665d612d
add an env var that skips building the subs cache 2022-08-09 12:59:36 +02:00
Folkert
4766c78d61
factor goal phase out of state 2022-08-09 12:45:57 +02:00
Folkert de Vries
4e443a7e50
Merge pull request #3725 from rtfeldman/glue-nonnullable-unwrapped
Glue remaining tag union use cases
2022-08-09 12:39:00 +02:00
Folkert de Vries
e5e297aa2c
Merge pull request #3723 from rtfeldman/wasm-stack-size-control-i2490
CLI argument for Wasm dev stack size
2022-08-09 12:33:38 +02:00
Folkert de Vries
cbf8602430
Merge pull request #3676 from rtfeldman/complete-num-add
gen_dev: Support all number types in NumAdd
2022-08-09 11:35:55 +02:00
Richard Feldman
d5c50d0d04
c-c-c-clippy 2022-08-08 20:36:40 -04:00
Richard Feldman
bee8bdcfc0
Fix typo in comment 2022-08-08 20:34:35 -04:00
Richard Feldman
09a7117237
Fix single tag struct Debug impl 2022-08-08 19:55:57 -04:00
Richard Feldman
5d3f7f2967
Fix semicolon 2022-08-08 18:15:22 -04:00
Brian Carroll
86b5db10d5
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-stack-size-control-i2490 2022-08-08 22:39:26 +01:00
Richard Feldman
595b7c9884
Fix tests 2022-08-08 17:30:54 -04:00
Brian Carroll
91489ce6bd
cli: create an option for wasm dev backend stack size 2022-08-08 22:28:58 +01:00
Richard Feldman
d965a43fe9
Split back out NullableUnwrapped 2022-08-08 17:27:29 -04:00
Brian Carroll
dd040d5f73
wasm: add stack_bytes field to Env 2022-08-08 21:41:25 +01:00
Folkert de Vries
9e88387ecd
Merge pull request #3721 from rtfeldman/rbt-fix
Replace glue usages of ManuallyDrop::take with ::into_inner
2022-08-08 21:28:11 +02:00
Folkert de Vries
168d5bce31
Merge pull request #3719 from rtfeldman/wasm-fix-gen-primitives
test_gen: fix Rust types where expected value is a function
2022-08-08 21:27:02 +02:00
Richard Feldman
1a10174abb
Combine all single-tag unions into RocTagUnion::SingleTag 2022-08-08 14:42:52 -04:00
Richard Feldman
4ac79772df
Revise glue for single-tag recursive unions 2022-08-08 14:42:52 -04:00
Richard Feldman
22b219c3c9
Glue body for recursive single-tag unions 2022-08-08 14:42:52 -04:00