Commit graph

654 commits

Author SHA1 Message Date
Folkert
df8ab829a6 fix one element struct unpacking
I think this broke when we decided that we want to not drop empty fields from layouts?
2021-01-21 21:40:04 +01:00
Folkert
e8e087f869 move panic down so we see the error messages 2021-01-19 20:21:16 +01:00
Folkert
4be3e1c762 narrow down problem in ignored tests 2021-01-19 19:22:11 +01:00
Folkert
14a45ce012 remove test that now passes 2021-01-19 16:46:32 +01:00
Folkert
b167098275 optimize bitcast generation 2021-01-19 16:46:02 +01:00
Folkert
b84670328a enable rbtree_insert test 2021-01-19 15:09:21 +01:00
Chadtech
a46a7ef06a builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works 2021-01-18 22:38:51 -05:00
Chadtech
fdff20b2c1 Dict.size added to builtins.rs 2021-01-18 21:03:15 -05:00
Folkert
83fd1de89b fix bug: incorrect var definition before switch 2021-01-18 23:52:58 +01:00
Folkert
0ac5a16e86 fix bug: incorrect block_of_memory layout 2021-01-18 23:41:42 +01:00
Folkert
e11b478892 fix tests 2021-01-18 22:10:21 +01:00
Folkert
cb0c5ef751 make bitcast more descriptive 2021-01-18 22:06:14 +01:00
Chadtech
bade5dd48d Dictionary rust modules 2021-01-18 15:26:21 -05:00
Chadtech
520dcfbaca Wiring up dictionary and hash rust code to their zig counterparts 2021-01-18 15:25:37 -05:00
Folkert
4f4d555197 fix complex Switch bug 2021-01-18 01:30:57 +01:00
Folkert
0b4af7e499 fix switching on the tag id 2021-01-17 21:12:46 +01:00
Folkert
8cd744342b Merge remote-tracking branch 'origin/trunk' into nullable-tags 2021-01-17 02:37:57 +01:00
Folkert
c1265574b3 drop the tag! 2021-01-17 02:26:04 +01:00
Folkert
4dd7ea1356 add some failing tests 2021-01-17 00:38:30 +01:00
Chadtech
c7f6de2afe Merge branch 'trunk' of github.com:rtfeldman/roc into dict 2021-01-16 14:55:09 -05:00
Richard Feldman
82101a34e7
Merge pull request #898 from rtfeldman/decision-tree-improvements
Decision tree improvements
2021-01-14 23:53:02 -05:00
Richard Feldman
8ebf45040e
Merge pull request #897 from rtfeldman/stdlib-by-reference
pass stdlib by reference
2021-01-14 22:44:52 -05:00
Folkert
c1b5a42273 add jumps to decision tree creation 2021-01-14 16:54:34 +01:00
Folkert
ab6cb7ac93 pass stdlib by reference 2021-01-14 16:49:55 +01:00
Sébastien Besnier
fdc2b6ad86 add bitwise xor 2021-01-14 16:12:46 +01:00
Chadtech
cddd64f1c9 Get rid of old Dict implementation, use Zig wyhash, and WIP for testing Roc use of zig wyhash 2021-01-12 00:59:40 -05:00
Folkert
f3b8c707b1 update tests 2021-01-10 21:45:55 +01:00
rvcas
56ff1fe463 feat: recursive tag unions store head on heap not stack 2021-01-09 10:54:53 -05:00
Folkert
9dd02ea090 reenable test 2021-01-07 20:15:06 +01:00
rvcas
e34fa2fe8c fix(gen_list): forgot to use Nat in these tests as well 2021-01-06 07:42:01 -05:00
Richard Feldman
ba9448619a
Merge branch 'trunk' into list-eq 2021-01-04 22:53:14 -05:00
rvcas
27cfd4d7ad more test fixes 2021-01-04 15:18:49 -05:00
rvcas
0aca5ae89a fix: fmt issue in gen_num.rs 2021-01-04 10:03:40 -05:00
rvcas
b34436e5cb Merge branch 'trunk' into int_a_float_a 2021-01-04 09:53:45 -05:00
Folkert
16abefa10d fix whitespace 2021-01-04 14:55:54 +01:00
Richard Feldman
fb95c72127
Merge branch 'trunk' into list-eq 2021-01-04 08:44:30 -05:00
Richard Feldman
07c9c962e4
Merge pull request #864 from rtfeldman/str-eq
Equality on Str
2021-01-04 08:43:30 -05:00
Folkert
a7cf98df9b add == and != for lists 2021-01-03 20:09:28 +01:00
Folkert
6749606450 add tests for RocStr clone 2021-01-03 03:12:49 +01:00
Folkert
0abc1cce15 make RocStr clone 2021-01-03 03:04:28 +01:00
Folkert
2ac19fb6e3 add equality for strings 2021-01-02 18:50:29 +01:00
Folkert
6ed01f357a add tests 2021-01-02 18:01:55 +01:00
Jared Ramirez
faa8f66b6c Add gen support for Nat 2021-01-01 17:40:47 -06:00
Jared Ramirez
37510e6aae Add rest of gen_num tests 2021-01-01 16:35:55 -06:00
Folkert
ccd302cbe9 format 2021-01-01 00:54:18 +01:00
Folkert
728298d15a automatic clippy fixes 2021-01-01 00:05:45 +01:00
Folkert
bcf1c46afe be more specific about int/float precision 2020-12-31 22:46:29 +01:00
Folkert
5859568d92 remove Cond 2020-12-31 20:58:30 +01:00
Jared Ramirez
18d0141942 [WIP] Merge local changes with new branch 2020-12-31 13:08:50 -06:00
rvcas
9dbcfb7a97 Merge branch 'temp_numbers' into int_a_float_a 2020-12-30 19:59:20 -05:00