Commit graph

1231 commits

Author SHA1 Message Date
Ayaz Hafiz
b311dc4741
Remove stray dbg 2022-08-10 20:24:19 -07:00
Ayaz Hafiz
81bb889e93
Add RigidOptional record field variant 2022-08-10 20:24:18 -07:00
Ayaz Hafiz
d8c18cc898
Ignore argument 2022-08-10 20:23:17 -07:00
Ayaz Hafiz
10288d3430
Fix compile errors 2022-08-10 16:10:32 -07:00
Ayaz Hafiz
c423e3f5ce
Regression test for #2165
Closes #2165
2022-08-10 16:01:56 -07:00
Ayaz Hafiz
fdb79da5a8
Report anonymous functions as "this function" rather than symbol name
Closes #2453

Thanks for the assist @chris-packett
2022-08-10 15:26:52 -07:00
Ayaz Hafiz
d8e2ca7b1e
Add test for when conditional polymorphic expr becomes a float
Closes #2884
2022-08-10 13:20:07 -07:00
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
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
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
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
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
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
Brian Carroll
91489ce6bd
cli: create an option for wasm dev backend stack size 2022-08-08 22:28:58 +01:00
Brian Carroll
dd040d5f73
wasm: add stack_bytes field to Env 2022-08-08 21:41:25 +01: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
Brian Carroll
11929a7b6d
wasm: set memory layout after code gen, when we know the amount of const data 2022-08-07 21:34:49 +01:00
Brian Carroll
e8003137d6
test_gen: fix Rust types where expected value is a function 2022-08-07 20:26:23 +01:00
Christoph Rüßler
003408e3ef
Merge remote-tracking branch 'origin/trunk' into complete-num-add 2022-08-07 19:52:06 +02:00
Christoph Rüßler
6d66b0deb6
Add support for i16/u16 to NumAdd 2022-08-07 19:41:35 +02:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Folkert de Vries
c7f9a39625
Merge pull request #3702 from rtfeldman/test-str-builtins
`roc test` on `Str` builtins
2022-08-07 13:14:17 +02:00
Richard Feldman
090ed922e3
Merge pull request #3714 from rtfeldman/expect-recursive-unions
expect recursive unions
2022-08-07 00:36:10 -04:00
Richard Feldman
3840aaeeea
Merge pull request #3715 from rtfeldman/remove-sendmap
remove some sendmap usage
2022-08-07 00:35:36 -04:00
Folkert
68888c79ae
skip expect codegen when not running tests 2022-08-06 22:03:56 +02:00
Richard Feldman
807f73fecf
Add some expects to Str 2022-08-06 21:45:21 +02:00
Folkert
9574bd9928
move implementation of platform functions to use site... 2022-08-06 21:32:18 +02:00