Commit graph

18465 commits

Author SHA1 Message Date
Ayaz Hafiz
81bb889e93
Add RigidOptional record field variant 2022-08-10 20:24:18 -07:00
Richard Feldman
b911e01136
Merge pull request #3737 from rtfeldman/i3553
Print all argument in tags when their argument lengths mismatch
2022-08-10 22:59:01 -04:00
Richard Feldman
f20c54de01
Merge pull request #3745 from rtfeldman/i2620
Adds regression tests for polymorphic records in the repl
2022-08-10 22:58:15 -04:00
Richard Feldman
ed799adcf5
Merge pull request #3743 from rtfeldman/i2884
Add test for when conditional polymorphic expr becomes a float
2022-08-10 22:58:00 -04:00
Richard Feldman
327e5e83f7
Merge pull request #3741 from rtfeldman/mac-linux-vscode-nix
Update vscode via Nix instructions for macOS/Linux
2022-08-10 22:57:21 -04:00
Ayaz Hafiz
4114e1f14d
Adds regression tests for polymorphic records in the repl
Closes #2620
2022-08-10 15:10:24 -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
fc0eeeb480
Update vscode via Nix instructions for macOS/Linux 2022-08-10 12:14:51 -04:00
Brian Hicks
1f45d13c67
Merge pull request #3740 from rtfeldman/restore-roc-run 2022-08-10 08:04:21 -05:00
Brian Hicks
91e8e45523
use fallible (instead of panicking) arg getter 2022-08-10 06:09:49 -05:00
Richard Feldman
0105fa4c4a
Merge pull request #3733 from rtfeldman/expect-fx
Expect fx
2022-08-09 23:03:37 -04: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
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
Richard Feldman
6e7f0210da
Combine recursive and nonrecursive single-tag glue 2022-08-08 14:42:52 -04:00
Richard Feldman
4e73899356
Rename NonNullableUnwrapped to RecursiveSingleTag 2022-08-08 14:42:52 -04:00
Richard Feldman
23b8ff896a
Give non-recursive single tag unions a payload 2022-08-08 14:42:52 -04:00
Richard Feldman
3adae16cff
Add test fixtures for nonnullable-unwrapped 2022-08-08 14:42:51 -04:00
Richard Feldman
1ad59c6c45
Replace usages of ManuallyDrop::take with ::into_inner 2022-08-08 12:10:20 -04: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
Richard Feldman
0ca0da85cf
Merge pull request #3694 from rtfeldman/roc-std-platform
further windows linking fixes
2022-08-07 14:42:52 -04: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 de Vries
c9bd2ec384
Merge pull request #3717 from rtfeldman/glue-tag-unions
Glue nullable-wrapped tag unions
2022-08-07 14:50:59 +02:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00