Commit graph

8016 commits

Author SHA1 Message Date
Folkert
401b3fd5ad
improve Constraint Debug impl 2022-03-12 13:31:58 +01:00
Folkert
8b92401d01
document let_import_constraint 2022-03-12 13:28:24 +01:00
Folkert de Vries
1ae5ccaa83
Merge pull request #2687 from rtfeldman/update-mono-list-replace
bump mono tests after List.replace being used in List.set
2022-03-12 13:20:43 +01:00
Brian Carroll
1afada4075 wasm: fix panic on empty Struct expression 2022-03-12 09:30:27 +00:00
Brian Carroll
b57c0ee6bf CI: Run Zig builtin tests on wasm as well as host 2022-03-12 08:09:23 +00:00
Brendan Hansknecht
bc492fa22b run cargo fmt 2022-03-11 19:29:34 -08:00
Brendan Hansknecht
d9c3601ec4 stop special casing on list and str. They are just large structs 2022-03-11 18:43:31 -08:00
Brendan Hansknecht
de68e55aca update loading small str in dev 2022-03-11 18:42:53 -08:00
hafiz
28a3ae85e3
Merge pull request #2704 from rtfeldman/num-to-nat
Add `Num.toNat`
2022-03-11 18:46:43 -06:00
hafiz
5bc29c9b88
Merge pull request #2700 from rtfeldman/optimize-instantiate-alias
improve `correct_mutual_recursive_type_alias`
2022-03-11 17:29:51 -06:00
Folkert
28ce49c273
use lazy_static 2022-03-12 00:18:06 +01:00
Folkert
e1d5b748b1
fix wasm/dev tests 2022-03-12 00:13:49 +01:00
Folkert
85fdb6564e
Revert "optimize Type::symbols()"
This reverts commit 4ce7221c39.
2022-03-11 23:42:59 +01:00
Folkert
5006b2afa3
playing with atomics to get the global stdlib to work 2022-03-11 23:39:55 +01:00
Folkert
7a7a99f118
handle some edge cases 2022-03-11 23:09:04 +01:00
Folkert
49408d3a56
fix reporting tests 2022-03-11 22:56:29 +01:00
Folkert
11da96b286
make borrow_stdlib threadsafe 2022-03-11 22:49:29 +01:00
Folkert
01b810266b
test cleanup 2022-03-11 22:15:36 +01:00
Folkert
82e4ab67b3
store stdlib in a static 2022-03-11 22:14:52 +01:00
Folkert
26953c0420
move stdlib solved type usage to use site 2022-03-11 22:01:25 +01:00
ayazhafiz
6a71358431 Get rid of more clones when resolving recursive aliases and use fast ImMap 2022-03-11 14:59:19 -06:00
Brendan Hansknecht
203bbca185 fix str and list layout in refcount proc generation 2022-03-11 12:32:04 -08:00
Folkert
20ae9ff1e3
hollow out ConstrainableImports 2022-03-11 21:29:50 +01:00
Folkert
364bc81dc4
stop making solved types for non-builtins 2022-03-11 21:08:24 +01:00
Folkert
9333d0a0e0
remove solved types from ExposedModuleTypes 2022-03-11 21:06:12 +01:00
Folkert
18d7f32aa3
do nothing, prepare for refactor 2022-03-11 21:03:55 +01:00
Folkert
afcd176d58
clone storage subs less 2022-03-11 20:56:13 +01:00
Brian Carroll
456d8ff9cb Merge branch 'trunk' of github.com:rtfeldman/roc into list-str-capacity 2022-03-11 19:28:13 +00:00
Brian Carroll
ad5da76588 wasm: fix remaining tests for capacity 2022-03-11 19:20:57 +00:00
Brendan Hansknecht
d681062c63 add Num.toNat 2022-03-11 11:17:42 -08:00
Folkert
c79ecec56e
make SubsByModule opaque 2022-03-11 20:16:55 +01:00
Brian Carroll
38b8c45b23 wasm: fix Str decoding in tests 2022-03-11 19:07:18 +00:00
Folkert
52c056ad13
imported rigids keep their name now 2022-03-11 19:55:39 +01:00
Folkert
e335480003
fix copying of error type 2022-03-11 19:55:24 +01:00
Folkert
d4da4fed88
cleanup 2022-03-11 19:41:30 +01:00
Folkert
30e7d94c95
clarify old constraint gen is now just for the builtins 2022-03-11 19:25:42 +01:00
Folkert
aebb3a162e
it's alive! 2022-03-11 17:27:44 +01:00
Folkert
5cfd3c5ea8
add function to import/export types from a subs 2022-03-11 17:24:55 +01:00
Tom Dohrmann
17398e4f45 fix listSublist bitcode 2022-03-11 11:32:20 +01:00
Folkert
9054546d27
move things in place to go storage_subs -> subs 2022-03-11 10:49:22 +01:00
Folkert
fa74cf1424
improve scratchpad taking/putting 2022-03-11 10:49:00 +01:00
Folkert
973e3ac7ed
bring storage subs into solve again 2022-03-11 10:28:10 +01:00
Folkert
78f5526db3
add storage subs to ExposedModuleTypes 2022-03-11 10:15:33 +01:00
Folkert
28abf5b1b8
store exposed values as storage subs 2022-03-11 10:12:25 +01:00
Folkert
fc5e09a9e3
use Vec instead of ImSet 2022-03-11 09:52:44 +01:00
Folkert
affacb66be
optimize Type::symbols() 2022-03-11 09:51:06 +01:00
Brian Carroll
e4829b5b85 mono: Update Str refcount helpers to account for capacity field 2022-03-11 08:34:27 +00:00
Brian Carroll
a9e0ff6b4b wasm: update small string tests to expect 12 bytes 2022-03-11 08:34:27 +00:00
Brendan Hansknecht
cdf19e3feb
Merge pull request #2698 from rtfeldman/i/2696
Make sure casting to unsigned types performs zero-extension
2022-03-10 20:10:33 -08:00
hafiz
8679904fc3
Disable wasm test for now 2022-03-10 18:19:27 -06:00