Commit graph

6636 commits

Author SHA1 Message Date
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
Folkert
6bf3e80f51
remove some sendmap usage 2022-08-06 20:00:39 +02:00
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +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
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
Ayaz
d4e81ccbd2
Merge pull request #3695 from rtfeldman/derive-decoding-list
Derive decoding for lists!
2022-08-05 10:41:24 -05:00
Folkert de Vries
289319c900
Merge pull request #3704 from rtfeldman/fix-expect-fmt
Fix `expect` formatting
2022-08-05 16:12:53 +02:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Brian Carroll
e71a6da62d
wasm: fix refcount bug in higher order low-levels 2022-08-05 09:51:51 +01:00
Richard Feldman
a3e441c086
Fix top-level expect formatting bugs 2022-08-04 23:14:19 -04:00
Richard Feldman
862b58b8f9
Fix expect formatting in expressions 2022-08-04 23:14:19 -04:00
Richard Feldman
0d0cebc40d
Reproduce expect formatting bugs 2022-08-04 23:14:16 -04:00
Ayaz
deb6231d8c
Turn off test on gen-wasm for now 2022-08-04 17:13:09 -05:00
Folkert de Vries
510016bf6e
Merge pull request #3680 from rtfeldman/derive-decoders-1
Derive immediate decoders for basic types
2022-08-05 00:07:52 +02:00
Folkert de Vries
801f692067
Merge pull request #3697 from rtfeldman/test-interfaces
Allow `roc test` on interface modules
2022-08-05 00:01:38 +02:00
Richard Feldman
7518164cac
Move an import to avoid an unused warning 2022-08-04 13:52:36 -04:00
Richard Feldman
304c2c0bb0
Fix test_gen::helpers::dev 2022-08-04 13:52:35 -04:00
Folkert de Vries
9f2ddc61d8
Merge pull request #3699 from rtfeldman/wasm-fix-uninit-capacity
Wasm: fix uninitialised capacity in List literals
2022-08-04 15:24:55 +02:00
Brian Carroll
7f44ace383
wasm: nicer debug output for Let statements 2022-08-04 12:30:25 +01:00
Brian Carroll
67f7512e6d
wasm: drop unused return value from copy_value_from_memory 2022-08-04 12:29:25 +01:00
Brian Carroll
85e5d11db4
wasm: fix List.getUnsafe trying to load a symbol before it was stored 2022-08-04 12:27:46 +01:00
Brian Carroll
f526005249
test_gen: make default option more obvious on wasm debug page 2022-08-04 12:15:31 +01:00
Brian Carroll
acc83bde7c
test_gen: Fix an inaccurate test return value 2022-08-04 10:00:21 +01:00
Brian Carroll
be6408227a
test_gen: change some i64's to usize's 2022-08-04 09:29:30 +01:00
Richard Feldman
7f65298cf5
Fix a warning when testing with --release 2022-08-03 22:59:50 -04:00
Richard Feldman
d9992e26b1
Fix wasm test helper 2022-08-03 22:59:36 -04:00
Richard Feldman
b0f7737227
Update mono tests 2022-08-03 22:45:38 -04:00
Richard Feldman
9f221d7fab
Disable roc_std default features in gen_wasm and test_gen 2022-08-03 22:40:58 -04:00
Ayaz Hafiz
d481c9d22e
Disable test on wasm3 2022-08-03 21:17:32 -05:00
Richard Feldman
0de889c1e9
Rename to_goal_phase, per Clippy's suggestion 2022-08-03 19:50:24 -04:00
Richard Feldman
d260d1e593
Make entry points optional in code gen 2022-08-03 19:50:24 -04:00
Richard Feldman
e685eba42b
fix tests 2022-08-03 19:50:17 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules 2022-08-03 19:49:48 -04:00
Ayaz Hafiz
7ee298324e
Link relevant issue of ignored test 2022-08-03 16:27:47 -05:00
Ayaz Hafiz
24810ca778
Add a couple tests that currently hit a compiler panic 2022-08-03 16:19:50 -05:00
Ayaz Hafiz
1273a6ab0b
Check in a couple of list deriving tests! 2022-08-03 16:11:45 -05:00
Ayaz Hafiz
c22bcc5c67
Resolve derived specializations that aren't functions 2022-08-03 16:11:09 -05:00
Ayaz Hafiz
8b63402b1c
Load non-function derived ability specializations correctly 2022-08-03 16:10:44 -05:00
Ayaz Hafiz
de3a12167b
Wrap list decoders in Decode.custom for now
Otherwise we get some weird panics in borrow, I think something is going
wrong with let-generalization
2022-08-03 16:09:22 -05:00
Ayaz Hafiz
8a0dedc975
Allow unused mut variable 2022-08-03 16:08:36 -05:00
Folkert de Vries
66d361d262 clippy 2022-08-03 22:35:22 +02:00
Folkert de Vries
943216f4c0 specialize zig host building for windows 2022-08-03 22:23:19 +02:00
Ayaz Hafiz
1526581542
Get the correct buitlin to derive from symbol name 2022-08-03 15:02:46 -05:00