Commit graph

819 commits

Author SHA1 Message Date
Folkert
5babeb9d5a remove runtime_errors field 2021-03-29 15:38:52 +02:00
rvcas
7628904019 feat(mono/ir): implement applied tag functions 2021-03-28 17:00:50 -04:00
rvcas
6e1f42f990 Merge branch 'trunk' into applied_tag_functions 2021-03-27 18:00:46 -04:00
rvcas
fe9e9af576 tests(test_gen): add tests for mono 2021-03-27 18:00:36 -04:00
Folkert
5a8eb2ab39 on specialize failure, call runtime error function 2021-03-27 19:55:59 +01:00
Folkert
3b458309c6 WIP emit runtime error functions on specialization failure 2021-03-26 21:57:50 +01:00
Folkert
89f5e0465e Revert "WIP emit runtime error functions on specialization failure"
This reverts commit 090a7063d5.
2021-03-25 16:57:01 +01:00
Folkert
090a7063d5 WIP emit runtime error functions on specialization failure 2021-03-25 16:56:47 +01:00
Folkert
dd8bdcb806 show platform header in error messages 2021-03-23 23:00:18 +01:00
Folkert
715ab9ff2e actually blow up on invalid pattern 2021-03-23 22:01:22 +01:00
Folkert
55cb780249 don't clone Layout 2021-03-22 14:08:48 +01:00
Folkert
6a34c08049 cleanup 2021-03-20 01:05:05 +01:00
Eric Henry
aa6d5b9e34 fix clippy linting errors 2021-03-12 20:48:34 -05:00
Eric Henry
4d046abefa builtin maxI128 initial 2021-03-09 12:47:42 -05:00
Folkert
2faeda29f2 Err with void type 2021-03-06 23:07:03 +01:00
Folkert
ee5d68a6cc better debug reporting 2021-03-03 22:31:17 +01:00
Folkert
b4f86c449f try harder to find a list element type 2021-03-03 21:34:10 +01:00
Folkert
25827fc70e more debug info 2021-03-03 20:09:21 +01:00
Folkert
447df1f0f7 only reuse call-by-pointer wrapper if same layout 2021-03-02 23:02:41 +01:00
Folkert
84d036bd91 don't respecialize call by pointer wrappers 2021-03-02 20:23:22 +01:00
Folkert
7304154452 update comment 2021-02-24 21:36:16 +01:00
Folkert
6bd10ddc05 use imported module thunks for pointer calling 2021-02-24 16:23:35 +01:00
Folkert
a361148380 add imported_module_thunks 2021-02-24 16:09:47 +01:00
Folkert
c24d51e69d remove old function 2021-02-24 15:14:52 +01:00
Folkert
89bf22598e call by pointer wrappers need to call by pointer for closures 2021-02-21 14:41:08 +01:00
Folkert
ff20ab76ce put closure tests into one file 2021-02-19 21:29:33 +01:00
Folkert
9473a332db clippy 2021-02-19 19:22:05 +01:00
Folkert
c10c442473 add better debug info 2021-02-19 17:12:11 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
32bba5206a Merge remote-tracking branch 'origin/specialize-owned' into dict-more 2021-02-18 22:42:17 +01:00
Folkert
4ef527324d fix another oversight 2021-02-18 22:38:48 +01:00
Folkert
2afc804a9b fix oversight 2021-02-18 22:34:46 +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
Folkert
418be685ad store tag id in closure unions 2021-02-18 02:50:07 +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
6d6c7a294a improved debug printing of layouts 2021-02-17 00:39:34 +01:00
Folkert
22a9779fe4 test case for alias diff reporting 2021-02-16 17:22:06 +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
Folkert
13b2c23c01 working AStar 2021-02-15 21:34:55 +01:00
Folkert
9527434be8 Set.walk closure trouble 2021-02-15 02:04:04 +01:00
Folkert
35e1e94a94 implement Set.walk 2021-02-15 01:49:25 +01:00
Folkert
821df8bff8 Merge remote-tracking branch 'origin/trunk' into gen-equality 2021-02-14 03:44:31 +01:00