Commit graph

181 commits

Author SHA1 Message Date
Ayaz Hafiz
81bb889e93
Add RigidOptional record field variant 2022-08-10 20:24:18 -07:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +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
Folkert
b4eda7c9d9
rework features for roc_std 2022-08-06 19:01:07 +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
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
Ayaz Hafiz
c22bcc5c67
Resolve derived specializations that aren't functions 2022-08-03 16:11:09 -05:00
Ayaz Hafiz
1526581542
Get the correct buitlin to derive from symbol name 2022-08-03 15:02:46 -05:00
Ayaz Hafiz
b62c9d1faa
Support specialization of ability members that don't decay to functions 2022-08-03 10:16:22 -05:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Ayaz
fa14146054
Merge pull request #3531 from rtfeldman/decode
Very basic Decode.roc in the standard library
2022-08-02 14:26:28 -05:00
Ayaz Hafiz
b8328c2b5b
Remove stray dbgs 2022-08-01 09:09:37 -05:00
Ayaz Hafiz
fd62c0172b
Add LateResolver to late_solve to extract types from world abilities 2022-08-01 09:05:58 -05:00
Ayaz Hafiz
b72c8705e5
Add an AbilityResolver trait for abilities stores and views 2022-08-01 08:09:24 -05:00
Ayaz Hafiz
9421336384
Fix runtime error 2022-07-31 19:45:47 -05:00
Folkert
47bbef30e8
when on 128-bit numbers 2022-07-29 14:09:50 +02:00
Folkert
d0f1500dad
implement when on multiple string patterns 2022-07-29 12:13:21 +02:00
Folkert de Vries
d212dffa1a
Merge pull request #3616 from rtfeldman/i3614
Compile branches in the presence of degenerate patterns
2022-07-25 19:45:36 +02:00
Richard Feldman
cc790a2773
fixup! Rename bindgen_rs to rust_glue 2022-07-24 11:54:40 -04:00
Richard Feldman
daec85a75e
Merge pull request #3621 from rtfeldman/expect-memcpy
Clone more values into shared expect buffer
2022-07-23 23:00:54 -04:00
Folkert
c09cb4e3ea
fix stack size of empty tag union 2022-07-23 23:10:56 +02:00
Folkert
48e0938e8b
fix merge conflict 2022-07-23 15:46:41 +02:00
Folkert
93c331e1aa
Merge remote-tracking branch 'origin/trunk' into tag-alignment 2022-07-23 14:27:06 +02:00
Folkert
954a4fbe32
WIP 2022-07-23 14:25:38 +02:00
Folkert
d54428571f
fix layout test 2022-07-23 11:46:51 +02:00
Ayaz Hafiz
59ab1da83f
Compile branches in the presence of degenerate patterns
Closes #3614
2022-07-22 18:16:02 -04:00
Ayaz Hafiz
f2fc6e16ec
Remove loc_branches which is never read 2022-07-22 17:29:20 -04:00
Ayaz Hafiz
4031770836
Mark branch patterns degenerate when they don't bind symbols body needs 2022-07-22 17:26:45 -04:00
Folkert
70fcb574dd
update layout helpers 2022-07-22 21:56:24 +02:00
Ayaz Hafiz
5ad04dcd2c
Emit runtime error when tag unions have an error type
Closes #3266
2022-07-22 15:46:09 -04:00
Folkert
6cabf11cbc
gen tests with new tag layout 2022-07-22 21:13:55 +02:00
Folkert
366429303c
add RocUnion 2022-07-22 21:13:53 +02:00
Folkert
22fea90cd6
fix implementation of UnionLayout::tag_id_offset 2022-07-22 21:13:52 +02:00
Folkert
3ca8dfa3ef
add UnionLayout::tag_id_offset 2022-07-22 21:13:51 +02:00
Ayaz Hafiz
a56e4a37c3
Get rid of loop 2022-07-22 21:13:51 +02:00
Ayaz Hafiz
5d2cfa1482
Reflect newtypes in path instructions 2022-07-22 21:13:51 +02:00
Ayaz Hafiz
4fc59ffc12
Newtype destructures test for record that decay into their only arg 2022-07-22 21:11:32 +02:00
Ayaz Hafiz
eee13a4aa3
Don't add path instructions for newtypes that decay into their args 2022-07-22 21:11:31 +02:00
Ayaz Hafiz
d4ad981448
Reproduce #3560
Part of #3560
2022-07-22 21:11:31 +02:00
Richard Feldman
53e7a41f27
Merge pull request #3606 from rtfeldman/bindgen-tag-alignment
bindgen tag alignment
2022-07-22 08:21:03 -04:00
Folkert de Vries
5aaccd2d5b
Merge pull request #3599 from rtfeldman/i3560
Compile newtypes that decay into non-newtypes in branch patterns
2022-07-22 13:48:11 +02:00
Folkert
f85d3243e9
fix implementation of UnionLayout::tag_id_offset 2022-07-22 13:12:44 +02:00
Folkert
9c2e6fca0a
add UnionLayout::tag_id_offset 2022-07-22 12:53:24 +02:00
Ayaz Hafiz
90acbd54ef
Get rid of loop 2022-07-21 18:20:11 -04:00
Ayaz Hafiz
5988257bde
Reflect newtypes in path instructions 2022-07-21 18:17:57 -04:00
Ayaz Hafiz
f3722659fc
Newtype destructures test for record that decay into their only arg 2022-07-21 15:03:18 -04:00
Ayaz Hafiz
1acb7e0748
Don't add path instructions for newtypes that decay into their args 2022-07-21 14:57:17 -04:00