Commit Graph

17752 Commits

Author SHA1 Message Date
Ayaz Hafiz
52e15bd344
Reproduce #3560
Part of #3560
2022-07-21 12:30:36 -04:00
Ayaz
c48c4f3183
Merge pull request #3519 from rtfeldman/i3483
Fully qualify values exported to host linking
2022-07-21 09:13:06 -05:00
Ayaz Hafiz
3c326769dd
Fix TUI example 2022-07-21 09:02:04 -04:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Ayaz Hafiz
7ef03440ef
Fully qualify values exported to host linking
Previously we were only handing off exposed values based on their
inner-module ID, but actually the fully-resolved ID is needed, because
it's reasonable that two identical names from different modules are
exposed to the host.

Closes #3483
2022-07-21 09:02:03 -04:00
Folkert de Vries
f9a5113210
Merge pull request #3588 from rtfeldman/roc-list-from-iter-part2
RocList::from_iter for zero-size elements & fix over-allocation
2022-07-21 12:06:25 +02:00
Anton-4
05d2b24e3a
Merge pull request #3573 from rtfeldman/nix2205
update to nix 22.05
2022-07-20 14:54:48 +02:00
Brian Carroll
b14d9b5244
Fix over-allocation in List::from_iter 2022-07-20 08:53:47 +01:00
Brian Carroll
ba7b98bdaa
Special-case RocList::from_iter for zero-size elements 2022-07-20 08:25:57 +01:00
Folkert de Vries
71edc445d2
Merge pull request #3587 from rtfeldman/i3571
Compile higher-order low-level calls that take functions with no closure args
2022-07-20 08:55:54 +02:00
Ayaz
d2ac4d7dc7
Merge pull request #3586 from rtfeldman/can-abilities2
Canonicalize syntactic abilities: Part 2
2022-07-19 21:13:53 -05:00
Brian Carroll
8e4fd629eb
Wasm: Handle closure data that's a lambda set with no closure data 2022-07-20 00:28:36 +01:00
Ayaz Hafiz
2cdb951752
Compile higher-order low-level calls that take functions with no closure args
Closes #3571
2022-07-19 15:50:36 -04:00
Ayaz Hafiz
8f5580c0a5
Clippy 2022-07-19 15:04:01 -04:00
Ayaz Hafiz
b4f45215ea
Fix solve tests 2022-07-19 15:02:52 -04:00
Ayaz Hafiz
3a57af8731
Format Json.roc 2022-07-19 14:30:20 -04:00
Ayaz Hafiz
cf158d21ed
Fix comment 2022-07-19 14:30:20 -04:00
Ayaz Hafiz
7586a8a083
Check complete ability implementations during canonicalization 2022-07-19 14:30:20 -04:00
Ayaz Hafiz
37ab06b0a3
Reject implementations that don't point to abilities 2022-07-19 14:30:19 -04:00
Ayaz Hafiz
a53de2e05c
Add a comment 2022-07-19 14:30:19 -04:00
Ayaz Hafiz
e4af8af1a3
Report duplicate implementations for ability members 2022-07-19 14:30:19 -04:00
Ayaz
7b9b855dcc
Merge pull request #3579 from rtfeldman/can-abilities
Canonicalize syntactic abilities
2022-07-19 13:30:12 -05:00
Ayaz Hafiz
666becad87
Clippy 2022-07-19 08:14:12 -04:00
Folkert de Vries
9beb44c140
Merge pull request #3583 from rtfeldman/default-test-main
Default `roc test` to main.roc
2022-07-19 09:22:08 +02:00
Ayaz
c636ee1301
Merge pull request #2226 from rtfeldman/be-lazier
Make `Effect.after` lazier
2022-07-18 22:54:58 -05:00
Ayaz Hafiz
92b5b0ef42
Fix gen tests 2022-07-18 22:19:10 -04:00
Ayaz Hafiz
0b74620a8f
Update mono tests 2022-07-18 22:15:22 -04:00
Ayaz Hafiz
c189f27fb0
Fix mono tests 2022-07-18 22:14:47 -04:00
Ayaz Hafiz
f3105eca6e
Format Json.roc 2022-07-18 22:14:39 -04:00
Ayaz Hafiz
4b70121399
Remove helloZig 2022-07-18 22:13:26 -04:00
Ayaz Hafiz
72d5157375
Reset host.zig 2022-07-18 22:13:26 -04:00
Folkert
fc891c0956
the lazier thing 2022-07-18 22:13:25 -04:00
Richard Feldman
2b0bfbb590
Merge pull request #3543 from rtfeldman/http-sync
Http example
2022-07-18 21:35:23 -04:00
Richard Feldman
ca4baf7131
Default roc test to main.roc 2022-07-18 20:37:49 -04:00
Brian Carroll
593271e67e
Merge pull request #3581 from rtfeldman/roc-list-from-iter
Create RocList::from_iter
2022-07-19 00:15:32 +01:00
Ayaz Hafiz
d2da395619
Syntactic ability links in solve 2022-07-18 18:33:28 -04:00
Brian Carroll
5c94064c7b
Remove multiPartBody since it's not implemented properly 2022-07-18 23:21:24 +01:00
Brian Carroll
e1bf4a317a
Re-export Http types from the Http module itself 2022-07-18 23:16:54 +01:00
Ayaz Hafiz
4d0c1e6a9c
Use insta for inferred queried tests 2022-07-18 17:55:02 -04:00
Ayaz Hafiz
159ddd3906
Fix gen tests 2022-07-18 17:55:02 -04:00
Ayaz Hafiz
17f53a23a5
Update tests 2022-07-18 17:55:02 -04:00
Ayaz Hafiz
f8cd56da41
Register specializing symbol in can opaques 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
c2154ac311
Support shorthand ability implementation syntax 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
870294b564
Update reporting tests 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
96b32c36cb
Introdue ability member names before other value names 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
e672ce9ebd
First pass at canonicalizing and reporting syntactic abilities 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
d118e5afbc
More can abilities 2022-07-18 17:55:01 -04:00
Ayaz Hafiz
e798eb3037
Lookup symbols in scope when the module ID is already known 2022-07-18 17:55:00 -04:00
Richard Feldman
ef1daf0f05
Add failing reporting test for ability_member_not_defined 2022-07-18 17:55:00 -04:00
Richard Feldman
c859ce0b23
Use Opaque over Alias 2022-07-18 17:55:00 -04:00