Commit Graph

8065 Commits

Author SHA1 Message Date
tarjei
e062bdaad8 Fix dec ref for empty list 2021-05-22 00:54:03 +02:00
tarjei
85e5b0ff82 Fix most of deref logic
Still doesn't handle empty lists properly.
2021-05-21 21:53:55 +02:00
Folkert
45111ec7e6 zucht 2021-05-21 09:36:50 +02:00
Folkert
bc7834a23a sigh 2021-05-21 09:22:19 +02:00
Folkert
780e6b28b8 fix import missing from release mode 2021-05-21 09:06:59 +02:00
Brendan Hansknecht
ae6cd1ca4e Update test since frontend doesn't stack overflow anymore 2021-05-20 20:45:06 -07:00
Brendan Hansknecht
1a98ec290e Fix dev backend pointer bug
When using pointers as keys, new ones shouldn't get created. Always
reference an existing item.
2021-05-20 20:36:49 -07:00
Folkert
564aacc1fd Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-20 23:08:53 +02:00
Folkert
8d0c4c7c7f clippy 2021-05-20 23:08:02 +02:00
Folkert
1d7ca32101 passing tests! 2021-05-20 22:43:55 +02:00
Folkert
910a7e5113 fix bug where results of top-level thunks are not RC'd 2021-05-20 22:39:14 +02:00
Folkert
955d39a91e re-enable tests 2021-05-20 22:38:37 +02:00
Folkert
6347b64af7 enable perceus stuff 2021-05-20 21:22:13 +02:00
Folkert
b50bbb89da Merge remote-tracking branch 'origin/trunk' into morphic-lib 2021-05-20 21:20:46 +02:00
Folkert
9162bb896b clippy 2021-05-20 21:20:34 +02:00
Richard Feldman
620bd27ad5
Merge pull request #1318 from rtfeldman/wgpu_8
upgrade to wgpu 8.1
2021-05-19 18:50:06 -04:00
Folkert
8750cdbfbe include new files 2021-05-19 23:02:27 +02:00
Folkert
083f8275bf update morphic 2021-05-19 22:51:33 +02:00
Folkert
8f55706d5d fix list gen tests 2021-05-19 22:45:30 +02:00
Folkert
f3199ed2a7 work on dicts 2021-05-19 22:32:31 +02:00
Folkert
d01d539d6b first pass for List.keep 2021-05-19 21:30:43 +02:00
Anton-4
e2bc9566ba upgrade to wgpu 8.1, removed old editor benchmarks 2021-05-19 17:32:07 +02:00
Folkert
e3b102e0c3 fix List.map3 2021-05-19 16:41:12 +02:00
Folkert
d2b0ecdd04 fix List.map2 2021-05-19 16:07:50 +02:00
Folkert
87b9f866d3 WIP fixing the borrowing in HOFs 2021-05-19 15:28:20 +02:00
rvcas
35cdf1051d tests: use a simpler test case to avoid defs 2021-05-18 21:21:57 -04:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
653d745dc5 fix closure RC increments 2021-05-18 21:35:21 +02:00
Folkert
c5bb041edd fix closure RC increments 2021-05-18 21:35:02 +02:00
Folkert
04968d6394 fix closure RC increments 2021-05-18 21:34:37 +02:00
Folkert
184c71d669 implement RC 2021-05-18 20:53:50 +02:00
rvcas
031c704ad1 tests: add a test for constraining access 2021-05-17 19:48:01 -04:00
rvcas
35f82821f1 feat(Expr2): add a todo case for Defs 2021-05-17 19:47:31 -04:00
rvcas
eb6e4a21f3 feat(Expr2): port over Access case for constraints 2021-05-17 19:45:11 -04:00
rvcas
79efa42923 fix(Expr2): better name for the sub_expr in call 2021-05-17 19:44:31 -04:00
Eric Henry
d34f984169 Starting to add no arg tag union 2021-05-17 17:07:19 -04:00
Folkert
925355eb4e use add_unknown_with 2021-05-17 19:51:46 +02:00
Folkert
c5bd06db66 Merge remote-tracking branch 'origin/trunk' into morphic-lib 2021-05-17 19:32:58 +02:00
Folkert
8dddf952a8 WIP List.map + RC'd closure troubles 2021-05-17 19:31:52 +02:00
Richard Feldman
b7b04344f3
Merge pull request #1313 from rtfeldman/constrain_call_and_accessor
Constrain Expr2::Call & Expr2::Accessor
2021-05-17 00:07:05 -04:00
Richard Feldman
5ccc57cdfb
Merge pull request #1309 from rtfeldman/gen-dev/div-i64
gen-dev i64 multiplication
2021-05-17 00:05:03 -04:00
Richard Feldman
b3758727e5
Merge branch 'trunk' into gen-dev/div-i64 2021-05-17 00:04:14 -04:00
Richard Feldman
bc4ba31ed2
Merge pull request #1312 from rtfeldman/gen_dev_num_abs_float
Dev Backend Num.abs on f64
2021-05-17 00:04:02 -04:00
Richard Feldman
74ed66524d
Merge branch 'trunk' into gen-dev/div-i64 2021-05-16 23:32:28 -04:00
Richard Feldman
93b6f70032
Merge pull request #1311 from rtfeldman/increment-many
Increment many at once
2021-05-16 23:32:07 -04:00
Chadtech
eced159a70 Merge branch 'hash-links' of github.com:rtfeldman/roc into hash-links 2021-05-16 22:33:37 -04:00
Chadtech
6df323ce12 Comply with clippy 2021-05-16 22:33:23 -04:00
rvcas
cb5cdb7c11 chore: remove commented code 2021-05-16 22:17:51 -04:00
rvcas
b2766aab36 feat(Expr2): port over Function solve case 2021-05-16 22:02:25 -04:00
rvcas
2ffafec559 feat(Expr2): port over Call and Accessor constraints 2021-05-16 22:02:04 -04:00