Commit Graph

18242 Commits

Author SHA1 Message Date
Anton-4
ced2b2cda9
auto-retry flaky zig on FileNotFound 2022-08-02 14:31:17 -05:00
Ayaz Hafiz
fb5ab7d7ca
More aggressive inlining 2022-08-02 14:31:17 -05:00
Ayaz Hafiz
19e93962cb
Check for builtin opaque types that always have a derived impl 2022-08-02 14:31:17 -05:00
Ayaz Hafiz
5d1198ae1f
Add more underivable decoding tests 2022-08-02 14:31:17 -05:00
Ayaz Hafiz
36969f0720
Print all derivable abilities 2022-08-02 14:31:17 -05:00
Ayaz Hafiz
57c1bed218
Include Decode aliases 2022-08-02 14:31:17 -05:00
Ayaz Hafiz
4bbc6b74fc
Add derivability obligation checking for Decode 2022-08-02 14:31:16 -05:00
Ayaz Hafiz
a7bc8cf4f2
Switch obligation checking to use a visitor
My hope is this will make obligation checking for other abilities easier
to add when we do so
2022-08-02 14:30:10 -05:00
Ayaz
fa14146054
Merge pull request #3531 from rtfeldman/decode
Very basic Decode.roc in the standard library
2022-08-02 14:26:28 -05:00
Richard Feldman
a38a91a015
Merge pull request #3686 from rtfeldman/ci-fix-opaque-wrap-fun
MacOS x86_64 nightly: build before tests
2022-08-02 14:55:53 -04:00
Folkert de Vries
86a1a0f401
Merge pull request #3643 from rtfeldman/disjoint-able-variable-specialization
Disjoint able variable specialization algorithm
2022-08-02 20:31:47 +02:00
Richard Feldman
59886d4225
Merge pull request #3684 from rtfeldman/refcount-overflow
Change refcounts to assume overflows are impossible
2022-08-02 08:43:24 -04:00
Folkert de Vries
e09739caec
Merge pull request #3678 from rtfeldman/no-canonicalize
Don't use fs::canonicalize in CLI
2022-08-02 14:08:19 +02:00
Anton-4
651aaf5fe2
build before tests
#2572
2022-08-02 08:49:24 +02:00
Brendan Hansknecht
ca8b052094
switch to wrapping subtract since it is safe here 2022-08-01 22:32:43 -07:00
Brendan Hansknecht
afaf59a050
change refcounts to assume overflows are impossible 2022-08-01 22:32:43 -07:00
Folkert de Vries
ed9b7da4a3
Merge pull request #3675 from rtfeldman/remove-todo-opaques
Remove references to todo_opaques
2022-08-02 00:43:14 +02:00
Folkert de Vries
5061a67534
Merge pull request #3642 from rtfeldman/can-abilities6
Syntactic abilities: Part 6 - eager lambda set specialization, and fix ability let-generalization
2022-08-01 23:57:56 +02:00
Folkert de Vries
1ece059803
Merge pull request #3671 from rtfeldman/building_from_source_bindgen
mention to install bindgen in BUILDING_FROM_SOURCE
2022-08-01 21:35:52 +02:00
Richard Feldman
c098190341
Merge pull request #3662 from rtfeldman/call-opaques-by-what-they-are
Report opaques as opaques, not aliases
2022-08-01 15:15:08 -04:00
Richard Feldman
a28851170b
Merge pull request #1848 from rtfeldman/build-nix
WIP Add default.nix for building roc
2022-08-01 15:13:16 -04:00
Richard Feldman
505e7dee56
Don't use fs::canonicalize 2022-08-01 15:11:55 -04:00
Ayaz Hafiz
2e6d7bfa2a
Remove references to todo_opaques
Opaque types are now fully implemented so this can be removed. roc_ast
is going away in favor of can, so references there have been replaced
with internal_error.
2022-08-01 13:24:29 -05:00
Anton-4
d6b62add36
fixed BUILTINS_HOST_OBJ_PATH not found 2022-08-01 18:54:16 +02:00
Ayaz Hafiz
e2f1417224
Update reporting test 2022-08-01 11:40:16 -05:00
Ayaz Hafiz
c9e7d4d92b
Add a list decoding test 2022-08-01 11:08:09 -05:00
Ayaz Hafiz
5ba646d3e0
Remove decodeElems and handle end-of-list appropriately 2022-08-01 11:07:27 -05:00
Ayaz Hafiz
ffb7f7a001
Naive decoding of lists 2022-08-01 10:12:45 -05:00
Ayaz Hafiz
03463a2a5e
Naive string decoding 2022-08-01 09:56:59 -05:00
Anton-4
0b5b3a8652
Merge branch 'trunk' of github.com:rtfeldman/roc into build-nix 2022-08-01 16:51:07 +02:00
Anton-4
43f9e2a7c3
fixes to make default.nix work 2022-08-01 16:50:38 +02:00
Ayaz Hafiz
d1880cae76
Add a comment 2022-08-01 09:50:18 -05:00
Ayaz Hafiz
e1c8b3c9b0
Format Json.roc 2022-08-01 09:48:38 -05:00
Ayaz Hafiz
c85c865b05
Bool decoding 2022-08-01 09:47:42 -05:00
Ayaz Hafiz
a00953128d
Use asciiByte helper 2022-08-01 09:47:35 -05:00
Ayaz Hafiz
e00ebbead7
Properly parse floats 2022-08-01 09:32:05 -05:00
Ayaz Hafiz
b8328c2b5b
Remove stray dbgs 2022-08-01 09:09:37 -05:00
Ayaz Hafiz
60601dada2
Remove mono test 2022-08-01 09:08:32 -05:00
Ayaz Hafiz
f06ed1a647
Add FIXME comments 2022-08-01 09:08:19 -05:00
Ayaz Hafiz
b516bf0da8
Add basis decoder test, using the standard library! 2022-08-01 09:06:30 -05:00
Ayaz Hafiz
fd62c0172b
Add LateResolver to late_solve to extract types from world abilities 2022-08-01 09:05:58 -05:00
Ayaz Hafiz
2adde2351f
Add subs to member_parent_and_signature_var 2022-08-01 09:05:16 -05:00
Ayaz Hafiz
4f14c0a8ea
make with_module_exposed_type read-only 2022-08-01 09:04:12 -05:00
Anton-4
3e14512e49
mention to install bindgen 2022-08-01 15:26:05 +02:00
Ayaz Hafiz
b72c8705e5
Add an AbilityResolver trait for abilities stores and views 2022-08-01 08:09:24 -05:00
Ayaz Hafiz
6a4a3e2c60
Expose Json.fromUtf8 2022-08-01 08:09:23 -05:00
Ayaz Hafiz
10ce5d0615
Implement Json fromBytes without let-generalization 2022-08-01 08:09:23 -05:00
Ayaz Hafiz
3fdde9e8f0
Stub out a decoder implementation for Json 2022-08-01 08:09:23 -05:00
Ayaz Hafiz
623f5698ac
Qualify Encode.custom 2022-08-01 08:09:23 -05:00
Ayaz Hafiz
df3ee468c6
Remove unneeded imports 2022-08-01 08:09:23 -05:00