Commit graph

896 commits

Author SHA1 Message Date
Folkert
b669202d86 fix wildcards not recognized as rigids 2020-12-11 01:49:54 +01:00
Folkert
f5c267acf4 fix problem with empty closures still considered closures 2020-12-10 23:58:53 +01:00
Folkert
84421ad06d fix bug in closure argument unpacking 2020-12-10 20:45:59 +01:00
Folkert
a9b3c74f2e don't drop empty records from layouts 2020-12-10 15:04:42 +01:00
Folkert
d81544b061 update new test cases 2020-12-10 01:21:17 +01:00
Folkert
16994cfaf7 shrink number of used variables (by a lot) 2020-12-10 00:13:09 +01:00
Folkert
64c3fc6da6 add test for type error 2020-12-09 22:55:14 +01:00
Folkert
d0686582d0 comment invalid assertion 2020-12-08 20:29:59 +01:00
Folkert
fc85761783 fix issue with one-element records containing a union in the closure argument 2020-12-08 16:05:51 +01:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Folkert
ac77177932 fix stack overflow in llvm code gen 2020-12-06 02:29:41 +01:00
Jared Ramirez
5697ec209b Fix call to str split; Move some comments around 2020-12-04 14:16:07 -07:00
Richard Feldman
544e1f294a
Fix doc comment 2020-12-03 22:30:24 -05:00
Richard Feldman
31fd70d0b1
Merge branch 'trunk' into str-from-int 2020-12-03 22:26:23 -05:00
Richard Feldman
567e0e6a8f
Merge pull request #765 from rtfeldman/list-refcount-issues
Fix some list refcount issues
2020-12-03 22:23:21 -05:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
82e87d04e3 rename str.len to str.number_of_bytes 2020-12-03 21:23:07 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
Folkert
3162ab5fc4 simplify str_len 2020-12-03 16:22:47 +01:00
Folkert
f21af47fc1 simplify str_starts_with 2020-12-03 16:10:24 +01:00
Folkert
770d4d7bc3 simplify str_count_graphemes 2020-12-03 16:07:14 +01:00
Folkert
3d6ea21184 cleanup 2020-12-03 16:04:08 +01:00
Folkert
3554a81add pass RocStr over the zig/llvm boundary 2020-12-03 15:52:27 +01:00
Folkert
4829368ca8 code cleanup 2020-12-03 15:24:15 +01:00
Folkert
0a8415b48e fix closure not decremented 2020-12-02 22:51:16 +01:00
Folkert
654342fb54 cleanup 2020-12-02 21:42:27 +01:00
Richard Feldman
a9d4b38e44 Merge remote-tracking branch 'origin/trunk' into zig-str-concat 2020-12-01 21:50:08 -05:00
Folkert
674f336601 clippy things 2020-12-01 23:11:24 +01:00
Folkert
5dbe470933 fix typo 2020-12-01 23:07:35 +01:00
Folkert
5d00910a38 fix memory leaks in lists 2020-12-01 23:01:17 +01:00
Folkert
63f4fbf1ef use zig-defined Str.concat 2020-12-01 23:00:39 +01:00
Folkert
af3a4c16f4 List.map can call closures 2020-12-01 15:20:52 +01:00
Folkert
2475054174 Merge remote-tracking branch 'origin/fix-debug-infos' into llvm-debug-info 2020-11-26 21:32:01 +01:00
Folkert
1022b4ef42 fix the effect Main.roc file and lib.rs file 2020-11-26 20:53:33 +01:00
Richard Feldman
e1575beaa3
Merge pull request #738 from rtfeldman/fix-alignment
Fix alignment
2020-11-25 22:54:18 -05:00
Folkert
7f83d9d3a0 fix mono tests, again 2020-11-25 20:06:53 +01:00
Richard Feldman
e6fd9cd884
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 20:20:51 -05:00
Folkert
0f1baef160 alignment in multi tag pattern match 2020-11-24 23:15:32 +01:00
Folkert
69734e837e alignment in pattern match on single element tag union 2020-11-24 22:36:09 +01:00
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01:00
Folkert
1e4f0e8b07 correct alignment in records! 2020-11-24 21:28:53 +01:00
rvcas
0fb2c4ff8b fix(List): clippy on list_walk and tests for the walk builtin 2020-11-24 13:20:05 -05:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Lucas
dfcf7bb7a2
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 09:07:28 -05:00
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Folkert
9c7514c449 refactor record layout generation 2020-11-23 23:44:12 +01:00
Richard Feldman
144bdcb3bb Fix some gen_primitives tests 2020-11-23 00:33:56 -05:00
Richard Feldman
da328f9e78 Fix gen tests 2020-11-23 00:24:40 -05:00
Richard Feldman
88d2ad1ffc Use roc__ prefix for exposed app functions 2020-11-23 00:24:40 -05:00