Commit graph

97 commits

Author SHA1 Message Date
Folkert
3bbf1a5506 use UnionTags for recursive tag unions 2021-08-12 20:50:33 +02:00
Folkert
0643efa571 clippy 2021-08-11 22:04:43 +02:00
Folkert
1d32be0818 all tests pass 2021-08-11 21:59:23 +02:00
Folkert
6c0860b6bf milestone all but one gen tests passing 2021-08-11 21:50:11 +02:00
Folkert
83ad331bb1 remove chase_record_ext_var 2021-08-07 15:35:57 +02:00
Folkert
ad3d006a11 use a SubsIndex instead of Box 2021-08-07 13:50:53 +02:00
Folkert
fe773995c8 make VariableSubsSlice 2021-08-07 13:12:39 +02:00
Folkert
524bde64d0 cleanup and comments 2021-08-07 01:31:40 +02:00
Folkert
e0039b94c9 clippy 2021-08-07 01:12:42 +02:00
Folkert
69c224843e all the work 2021-08-07 00:51:53 +02:00
Folkert
efab1ef2ca implement 2021-08-04 00:33:05 +02:00
Folkert
54198d7da1 one more shrinkage 2021-08-02 23:05:22 +02:00
Folkert
dfaaa21e81 use RecordFields 2021-08-01 17:50:38 +02:00
Folkert
35404bd25f use get_content_without_compacting more 2021-07-30 22:15:17 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert de Vries
d4570e3175
use reserve
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2021-07-22 21:14:46 +02:00
Folkert
6ab90cd15d not so fast 2021-07-21 22:17:53 +02:00
Folkert
564efd528a early return in common tag case 2021-07-21 22:02:30 +02:00
Folkert
05b43c6799 optimize separating tags into shared and unique 2021-07-21 21:38:16 +02:00
Folkert
ca8041cfa3 other tags 2021-07-21 21:06:32 +02:00
Folkert
5f408c42b0 enable tag unions as functions in code gen 2021-05-24 16:01:51 +02:00
Folkert
f480919186 Merge remote-tracking branch 'origin/trunk' into no-arg-tag-union-func 2021-05-24 14:44:32 +02:00
Folkert
5b643467bf clippy 2021-05-24 14:44:00 +02:00
Folkert
06bf614437 fix recursion layout issue 2021-05-24 14:15:52 +02:00
Folkert
1aa71113ca rename for clarity 2021-05-24 12:03:06 +02:00
Folkert
7bcab24fa0 clippy 2021-05-24 11:57:52 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
tarjei
0ee15f15ee Unify FunctionOrTagUnion with regular tags and functions 2021-05-23 23:14:17 +02:00
Folkert
5372c45cdd no manual rank hacking please 2021-05-05 14:49:54 +02:00
Richard Feldman
0a50b0b488 Change license to UPL-1.0
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Folkert
62da85cc06 remove ATTR_ATTR usage 2021-04-04 23:18:50 +02:00
Folkert
fa7dec2997 no more boolean algebra 2021-04-04 21:22:59 +02:00
rvcas
e4babd4445 chore(unify): move re-used logic into a helper function for TagUnion and Func 2021-03-28 23:42:29 -04:00
rvcas
f8a6cd6a74 feat(unify): clean up with @folkertdev 2021-03-24 15:37:23 -04:00
rvcas
6009501114 tests(solve_expr): mismatch still not properly being reported 2021-03-23 22:46:48 -04:00
rvcas
b063b45481 feat(unify): we were actually hitting the second case but desc now comes from first 2021-03-22 00:50:03 -04:00
rvcas
36ec1a0f56 feat(unify): clippy warnings 2021-03-21 00:38:00 -04:00
rvcas
3098bcf61d feat(unify): Func, TagUnion add the other way 2021-03-21 00:28:52 -04:00
rvcas
7f7386c639 feat(unify): basic tag functions seem to work 2021-03-21 00:17:20 -04:00
rvcas
80915105bc feat(unify): start unifying a single-tag union no payload with Func 2021-03-19 14:20:05 -04:00
Folkert
1c9cc6bc9b extra debug info 2021-03-03 20:10:36 +01:00
Folkert
a08485b0ee fix alias error incorrectly reported 2021-02-16 17:07:33 +01:00
rvcas
c9308c0662 add new layer to the Num types 2020-12-21 09:56:11 -05:00
Anton-4
6e3bd69e7c rust fmt 2020-12-15 15:21:20 +01:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Folkert
f8bfd9a9f4 clippy 2020-11-15 02:15:48 +01:00
Folkert
342059ab6c fix bug in Recursion ~ Flex unification 2020-11-14 23:54:22 +01:00
Folkert
bde82c3bb6 add Store constraint that does not report errors 2020-11-12 15:47:56 +01:00
Folkert
4868c0bd25 fix problem with patterns and optional record fields 2020-11-09 01:04:40 +01:00