Commit Graph

17168 Commits

Author SHA1 Message Date
Ayaz Hafiz
808d19b01b
Correctly compile unified recursive tag unions 2022-07-08 17:35:14 -04:00
Folkert de Vries
8c5f798f4e
Merge pull request #3454 from rtfeldman/fix-opaque-formatting
Fix unstable formatting of opaque tag unions
2022-07-08 22:22:00 +02:00
Folkert de Vries
15fee6fc9c
Merge pull request #3455 from rtfeldman/opaque-recursion-var
Support recursion var unification in opaque types
2022-07-08 22:18:26 +02:00
Ayaz Hafiz
676d6b3a7f
Sorry clippy, we love long lists 2022-07-08 15:38:50 -04:00
Ayaz Hafiz
e118573896
Add test to check structural recursion vars cannot leak into opaques 2022-07-08 15:31:44 -04:00
Ayaz Hafiz
d9edb4d1bb
Support unification of recursion vars in opaques 2022-07-08 15:31:29 -04:00
Richard Feldman
5f0e3c72c5
Fix unstable formatting on opaque unions 2022-07-08 15:29:08 -04:00
Folkert de Vries
cd06859d9a
Merge pull request #3453 from rtfeldman/fix-comment-fmt
Fix comment between multiline annotation args
2022-07-08 21:28:36 +02:00
Richard Feldman
1d07d9efa1
Reproduce unstable formatting on opaque unions 2022-07-08 15:17:15 -04:00
Richard Feldman
0083695f38
Merge pull request #3441 from rtfeldman/task-fx
Add a third type param to Task in CLI example
2022-07-08 15:10:30 -04:00
Richard Feldman
aea7892fae
Merge pull request #3447 from rtfeldman/list-unsafe-append
`List.reserve` and `List.appendUnsafe`
2022-07-08 14:39:58 -04:00
Richard Feldman
dbbbacc32a
Fix comment between multiline annotation args 2022-07-08 14:31:31 -04:00
Richard Feldman
e1871c0bef
Merge pull request #3420 from rtfeldman/run-toplevel-expects
run toplevel expects
2022-07-08 10:59:23 -04:00
Folkert
24c6b92846
update mono tests 2022-07-08 16:16:42 +02:00
Folkert de Vries
43f9b0d0fa
Merge pull request #3389 from rtfeldman/3378
Call recursive function with captures, and consolidate proc calling
2022-07-08 16:14:33 +02:00
Folkert
1eb903ffe3
Merge remote-tracking branch 'origin/trunk' into run-toplevel-expects 2022-07-08 15:36:15 +02:00
Folkert
972d652d5d
Merge remote-tracking branch 'origin/trunk' into list-unsafe-append 2022-07-08 13:57:09 +02:00
Ayaz
856b38a958
Merge pull request #3319 from rtfeldman/remove-old-expect-logic
remove old expect logic
2022-07-07 21:21:36 -05:00
Folkert
e6977986c9
update mono tests 2022-07-08 02:57:00 +02:00
Ayaz Hafiz
11b7597a07
Make sure to initialize complete uninit buffer in gen tests 2022-07-07 20:56:51 -04:00
Folkert
98c55ba30c
clean up the list map benchmark 2022-07-07 23:21:38 +02:00
Folkert
2f18ff39dc
use List.appendUnsafe in List.roc 2022-07-07 23:20:43 +02:00
Folkert
27094bf6eb
morphic implementations for new list functions 2022-07-07 23:20:06 +02:00
Folkert
56c9787e8f
List.appendUnsafe and List.reserve 2022-07-07 22:40:28 +02:00
Folkert
dda79a255e
store the capacity for list literals 2022-07-07 22:40:28 +02:00
Folkert de Vries
7dcd5d297a
Merge pull request #3434 from rtfeldman/wasm-last-few-builtins
Wasm: all MVP builtins implemented
2022-07-07 22:38:07 +02:00
Brian Carroll
daec180972
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-last-few-builtins 2022-07-07 20:36:25 +01:00
Brian Carroll
c32ce44b29
wasm: Explicit exhaustiveness on conditionals for higher-order lowlevels 2022-07-07 20:36:12 +01:00
Brian Carroll
a6faf875f8
wasm: Use Ord::max where possible instead of a custom function 2022-07-07 20:32:32 +01:00
Richard Feldman
5e533c4a0f
Add a third type param to Task 2022-07-07 10:06:02 -04:00
Folkert
a55461d0f8
format 2022-07-07 13:40:37 +02:00
Folkert de Vries
0412578e49
Merge pull request #3433 from rtfeldman/url-appending-fixes
url appending fixes
2022-07-07 11:51:40 +02:00
Ayaz
22f02984d3
Merge branch 'trunk' into 3378 2022-07-06 20:37:32 -05:00
Folkert
1ceed06f2b
dealloc is wrong for static strings 2022-07-07 03:26:42 +02:00
Richard Feldman
85d87ab431
Merge pull request #3407 from rtfeldman/dylib-roc-benchmarks
Dylib roc benchmarks
2022-07-06 21:19:29 -04:00
Richard Feldman
20ea7289be
cliiiiiiiippy 2022-07-06 21:15:25 -04:00
Richard Feldman
daa044390a
Merge pull request #3430 from rtfeldman/format-defs-fix
format defs and ignore the spaces inbetween
2022-07-06 20:31:51 -04:00
Folkert de Vries
ea27d928c3
Merge pull request #3431 from rtfeldman/fix-more-comments
Fix more comment formatting
2022-07-07 02:00:45 +02:00
Brian Carroll
b1ea641cfb
wasm: enable more tests 2022-07-07 00:34:42 +01:00
Brian Carroll
c9a1600751
wasm: Fix List.map where the mapper has zero-size arguments 2022-07-07 00:05:56 +01:00
Folkert
4bd5df4e0d
fix memory leak in c platform 2022-07-07 00:07:45 +02:00
Folkert
c5ac4a2984
fix reallocation setting both length and capacity 2022-07-06 23:56:04 +02:00
Brian Carroll
25a2eddf0f
wasm: Create a stack frame pointer for any function with a zero-size arg 2022-07-06 22:31:30 +01:00
Brian Carroll
a9aee13086
test_gen: support RocResult for Wasm tests 2022-07-06 22:01:03 +01:00
Brian Carroll
617e18af98
wasm: enable remaining List tests, except 2 panics 2022-07-06 22:01:02 +01:00
Brian Carroll
f132350ef3
wasm: implement List.sortWith 2022-07-06 22:01:01 +01:00
Brian Carroll
88bcb82fef
wasm: Don't eliminate inlined low-level wrappers. Need them for indirect calls. 2022-07-06 21:59:40 +01:00
Brian Carroll
86cb50ed09
test_gen: fix some list tests for 32-bit targets 2022-07-06 21:59:40 +01:00
Brian Carroll
e5e56a7795
wasm: Implement List.prepend 2022-07-06 21:59:37 +01:00
Richard Feldman
42a110dc6b
clippy 2022-07-06 16:51:25 -04:00