Commit graph

4243 commits

Author SHA1 Message Date
Folkert
03422a9907 alias analysis for NullableUnwrapped 2021-07-16 20:16:56 +02:00
Folkert
9b8f8b3c16 AppliedTag don't unroll recursive layouts 2021-07-16 18:23:57 +02:00
Folkert
743e8bd86f stop defining the tag id when it is not used 2021-07-16 18:17:21 +02:00
Folkert
c42a530ec0 fix reading the wrong memory 2021-07-16 18:15:03 +02:00
Folkert
97f15bbb49 Tag don't unroll recursive types 2021-07-16 18:10:55 +02:00
Folkert
7dd440f642 morphic Recursive types 2021-07-16 17:55:03 +02:00
Folkert
71672bb7ad prevent unrolling of recursive types 2021-07-16 17:54:44 +02:00
Folkert
2bc3ddae46 fix bug in casting recursive pointers 2021-07-16 17:51:41 +02:00
Folkert
8e54023d60 foundation for encoding recursive types 2021-07-15 15:16:09 +02:00
Folkert
d464c005f0 encode tag unions as morphic unions 2021-07-14 23:26:19 +02:00
Folkert
ed28b02b57 shift store_pattern over to decision_tree 2021-07-11 01:06:22 +02:00
Folkert
e32a06b088 assign guarded patterns at the last moment 2021-07-11 00:39:30 +02:00
Folkert
78309f2607 cleanup 2021-07-10 23:49:24 +02:00
Folkert
e05753afd8 working decision tree gen for all tests 2021-07-10 21:28:32 +02:00
Folkert
7abfca4388 expand tests 2021-07-10 14:27:43 +02:00
Folkert
541a62b109 cleanup: we either have a guard or a test, not both 2021-07-10 14:01:18 +02:00
Folkert
a22d1e9e4c peal of guarded tests 2021-07-10 13:56:13 +02:00
Folkert
8755465ad6 hash tests as the same 2021-07-10 13:55:27 +02:00
Folkert
1b1a201517 more debug info 2021-07-10 13:55:13 +02:00
Folkert
0fbf540d69 move Guard into the Branch 2021-07-07 21:21:50 +02:00
Folkert
60311fc7ce refactor: return option 2021-07-07 16:11:28 +02:00
Folkert
ca16dc3459 add tests 2021-07-07 16:09:15 +02:00
Richard Feldman
c598e3d103
Merge branch 'trunk' into zig_clean_up 2021-07-06 19:23:33 -07:00
Chadtech
d0445876b2
Merge branch 'trunk' into docs-exposed-values 2021-07-05 15:50:43 -04:00
Folkert de Vries
f02a7dd90f
Merge branch 'trunk' into zig_clean_up 2021-07-05 20:17:20 +02:00
Chadtech
c23d77a931 Merge branch 'docs-exposed-values' of github.com:rtfeldman/roc into docs-exposed-values 2021-07-05 13:03:13 -04:00
Chadtech
21a3d5a124 Bring back alises by symbol to loaded module 2021-07-05 13:03:00 -04:00
Chadtech
87162092ab
Merge branch 'trunk' into docs-exposed-values 2021-07-05 12:42:15 -04:00
Folkert
71d46a9b51 fix wrong bool 2021-07-05 17:35:55 +02:00
Folkert
8bca6ebdfd make fewer things pub 2021-07-04 23:10:44 +02:00
Folkert
1126921a9e refactor 2021-07-04 23:05:04 +02:00
Folkert
b1a136bf2e clippy 2021-07-04 22:44:36 +02:00
Folkert
2c0aa8a5a1 handle guards in a first-class way 2021-07-04 22:35:00 +02:00
Folkert
8f0c13ecc1 remove old handling of guard 2021-07-04 21:19:39 +02:00
Folkert
e7c88cac98 refactor guards 2021-07-04 21:17:57 +02:00
Folkert
b99f710c49 refactor 2021-07-04 20:12:50 +02:00
Folkert
b2792af5f6 add helper function 2021-07-04 15:10:32 +02:00
Lucas
f4753b6dc6
Merge branch 'trunk' into zig_clean_up 2021-07-03 20:07:39 -04:00
Folkert de Vries
b35eb85e03
Merge branch 'trunk' into incompatible_type_param 2021-07-04 01:09:04 +02:00
Chadtech
62d5633546 Fixed problems with docs failing to render and included test to validate that behavior 2021-07-03 14:51:40 -04:00
rvcas
39d39c218f feat(mono): return Stmt::RuntimeError on bad layouts for If 2021-07-03 13:05:30 -04:00
rvcas
16542f0e1e test: incompatible type params in if 2021-07-03 13:04:38 -04:00
Eric Correia
aa123635fa remove comment 2021-07-03 12:08:42 -04:00
Eric Correia
8deb377d30 tag must be its own type fix 2021-07-03 12:06:48 -04:00
Chadtech
1c06e280b0 Merge branch 'trunk' of github.com:rtfeldman/roc into docs-exposed-values 2021-07-03 11:27:07 -04:00
rvcas
3452037d44 chore: dict remove unused vars 2021-07-02 18:36:30 -04:00
rvcas
fb12715aba chore: list remove unused vars 2021-07-02 18:36:17 -04:00
rvcas
60f017cbd5 chore: utils ignore unused vars 2021-07-02 18:35:51 -04:00
rvcas
54bcf54f30 chore: dec remove redundant comptime 2021-07-02 18:35:13 -04:00
Folkert
eb478cdaac add eq tests for non-equal tags 2021-06-29 22:35:12 +02:00