Commit graph

3182 commits

Author SHA1 Message Date
Folkert
2afc804a9b fix oversight 2021-02-18 22:34:46 +01:00
Folkert
3a9999f723 provide more debug info if a function symbol is not found 2021-02-18 22:22:42 +01:00
Folkert
2200a930f9 fix Deriv 2021-02-18 21:57:07 +01:00
Folkert
34007651ac fix Closure3 2021-02-18 20:27:37 +01:00
Folkert
0cdea4e36a remove passed_by_pointer infrastructure 2021-02-18 19:48:36 +01:00
Folkert
0d64d5ac1b wrap by-pointer functions so they own all arguments 2021-02-18 19:11:02 +01:00
Folkert
68a459cd95 wrap calls by pointer 2021-02-18 16:46:31 +01:00
Folkert
0b6975fa77 de-alias same symbol with different layouts in borrow inference 2021-02-18 15:53:37 +01:00
Richard Feldman
fe98229aa3
Merge branch 'trunk' into dict-more 2021-02-17 23:47:13 -05:00
Richard Feldman
390ce06fa7
Merge pull request #1000 from rtfeldman/specialize-owned
Specialize owned
2021-02-17 23:14:12 -05:00
Folkert
418be685ad store tag id in closure unions 2021-02-18 02:50:07 +01:00
Folkert
6806585b51 stop treating closure unions in a special way 2021-02-18 02:49:04 +01:00
Folkert
76e299fe83 consistently name inc and dec (same layout, same number) 2021-02-18 01:54:39 +01:00
Folkert
85f40eb7d2 prevent excessive rebuilding of builtins 2021-02-18 00:32:35 +01:00
Folkert
40d75462fd Merge remote-tracking branch 'origin/trunk' into specialize-owned 2021-02-18 00:31:08 +01:00
Folkert
5501580fb3 clippy 2021-02-17 23:45:36 +01:00
Folkert
27dc420617 don't rebuild when zig cache changes 2021-02-17 23:42:28 +01:00
Folkert
3be7df1cac fix tests 2021-02-17 22:56:37 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
7bd228ca9b List.contains in Zig 2021-02-17 22:04:54 +01:00
Folkert
a3d0dc2fc3 move bitcode support functions around 2021-02-17 21:52:19 +01:00
Folkert
619749c954 use generic function to define the stepper wrapper 2021-02-17 21:16:00 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
45edb12b22 move equality tests 2021-02-17 20:00:03 +01:00
Folkert
56427c5fac List.walk in zig 2021-02-17 17:37:06 +01:00
Folkert
7aceb8dc70 List.keepIf in zig 2021-02-17 16:45:21 +01:00
Folkert
3093fe9e18 Merge remote-tracking branch 'origin/dict-more' into zig-list 2021-02-17 16:19:36 +01:00
Folkert
2166b1355b check for empty key/value (not doing so caused problems for set) 2021-02-17 16:18:42 +01:00
Folkert
42c5662872 List.map in zig! 2021-02-17 15:38:55 +01:00
Anton-4
60edbaffee
Merge branch 'trunk' into dict-more 2021-02-17 14:52:48 +01:00
Folkert
821e750876 implement primitives 2021-02-17 14:08:59 +01:00
Folkert
b8b0156c7b factor out utils.zig 2021-02-17 13:56:40 +01:00
Folkert
6154ce1254 clippy 2021-02-17 01:22:16 +01:00
Folkert
b09f82ff51 clippy 2021-02-17 01:08:24 +01:00
Folkert
e6ec85eeba revert mono tests 2021-02-17 01:05:03 +01:00
Folkert
80736f93b9 fix mono tests 2021-02-17 00:48:37 +01:00
Folkert
6d6c7a294a improved debug printing of layouts 2021-02-17 00:39:34 +01:00
Folkert
f59e79d779 RC expansion of nested structs 2021-02-17 00:38:14 +01:00
Folkert
c788965182 only reference count closures if the captured values are RC'd 2021-02-16 22:00:15 +01:00
Folkert
bc0a6f24ef cover the closure case in RC expansion 2021-02-16 21:59:08 +01:00
Folkert
4b20f969de never borrow a closure layout 2021-02-16 21:58:52 +01:00
Folkert
22a9779fe4 test case for alias diff reporting 2021-02-16 17:22:06 +01:00
Folkert
2a22f6254f Merge remote-tracking branch 'origin/trunk' into specialize-owned 2021-02-16 17:08:35 +01:00
Folkert
a08485b0ee fix alias error incorrectly reported 2021-02-16 17:07:33 +01:00
Folkert
1ef0d82c5c apply created closure immediately 2021-02-16 16:26:04 +01:00
Folkert
3b267392b3 make closure borrowed example work 2021-02-16 15:44:27 +01:00
Folkert
e4f0dc8897 crude prototype 2021-02-16 14:42:16 +01:00
Brendan Hansknecht
798ac52dcf Merge remote-tracking branch 'origin' into gen_dev/zig_builtins 2021-02-15 23:52:23 -08:00
Richard Feldman
80f00124a9
Merge branch 'trunk' into dict-more 2021-02-15 22:52:22 -05:00
Richard Feldman
b8ddf74500
Merge pull request #994 from rtfeldman/gen_dev/switch
Gen dev/switch
2021-02-15 22:47:19 -05:00