Commit Graph

1378 Commits

Author SHA1 Message Date
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
Richard Feldman
595b7c9884
Fix tests 2022-08-08 17:30:54 -04:00
Richard Feldman
d965a43fe9
Split back out NullableUnwrapped 2022-08-08 17:27:29 -04: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
Richard Feldman
0ca0da85cf
Merge pull request #3694 from rtfeldman/roc-std-platform
further windows linking fixes
2022-08-07 14:42:52 -04: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
Folkert
ca5610c748
clippy 2022-08-07 13:20:28 +02:00
Folkert de Vries
f750782965
Merge pull request #3707 from rtfeldman/glue-single-tag-union
Special-case glue for single tag unions
2022-08-07 13:17:14 +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
7f758ab9b6
Fix nullable-wrapped tests 2022-08-07 00:42:52 -04:00
Richard Feldman
7a5db3d457
Revert "Add an index to write_impl_tags"
This reverts commit 31f1aef8e0.
2022-08-07 00:42:52 -04:00
Richard Feldman
7726c1745b
Modify test fixture for nullable-wrapped 2022-08-07 00:42:46 -04: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
Richard Feldman
484cc582fc
Add some comments 2022-08-07 00:32:52 -04:00
Richard Feldman
f644c8ac50
Special-case nullable-unwrapped's null tag 2022-08-06 23:35:29 -04:00
Richard Feldman
31f1aef8e0
Add an index to write_impl_tags 2022-08-06 23:27:38 -04:00
Richard Feldman
dba935b8b7
Reuse add_tag_union for nullable_wrapped 2022-08-06 23:24:23 -04:00
Richard Feldman
4f55105a35
Generate glue for nullable unwrapped 2022-08-06 23:11:17 -04:00
Richard Feldman
621d1afd5d
Add test fixture for nullable-wrapped 2022-08-06 23:11:13 -04:00
Folkert
98708d689e
ownership 2022-08-07 00:12:39 +02:00
Folkert
9d057a1227
clippy 2022-08-06 23:01:54 +02:00
Folkert
45c15bf1f1
expect tests need to run with test execution mode 2022-08-06 23:00:58 +02: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
Folkert
79d0dbf4a1
clippy 2022-08-06 20:12:10 +02:00
Folkert
6bf3e80f51
remove some sendmap usage 2022-08-06 20:00:39 +02:00
Folkert
6394a4e337
update no_std config 2022-08-06 19:05:29 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +02:00
Folkert de Vries
d415c72fdc
Merge pull request #3713 from rtfeldman/wasm-code-gen-fixes-i3448
Wasm code gen fixes
2022-08-06 18:46:26 +02:00
Folkert
a5293e2a60
and add non-nullable unwrapped 2022-08-06 18:27:04 +02:00
Folkert
be4e98e076
add recursive unions 2022-08-06 17:40:12 +02:00
Anton-4
cf3707b063
Merge pull request #3705 from rtfeldman/default_nix_mac_arm64
make default.nix work on MacOS arm64
2022-08-06 16:03:26 +02:00
Folkert
546b702740
nullable wrapped tags 2022-08-06 14:40:00 +02:00
Brian Carroll
50326f7e0b
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-code-gen-fixes-i3448 2022-08-06 10:12:24 +01:00
Brian Carroll
aa0e9e8d31
wasm: Get RC reset/reuse working correctly 2022-08-06 09:58:47 +01:00
Richard Feldman
e5a7c28c6e
Remove unsafe from glue functions that don't need it 2022-08-05 20:17:26 -04:00
Richard Feldman
314d7a7952
Add RocTagUnion::SingleTagUnion 2022-08-05 20:14:41 -04:00
Richard Feldman
e9966e6551
Extract some common wrapper logic 2022-08-05 20:14:41 -04:00