Richard Feldman
21acf251a8
Merge pull request #1363 from rtfeldman/morphic-recursive-types-hack
...
Make morphic pass test suite without panics
2021-05-31 21:53:39 -04:00
Richard Feldman
5b9c1d82c6
Merge pull request #1364 from rtfeldman/nix-and-direnv
...
Format & rename some Nix stuff; Remove custom .envrc use nix stuff in favor of stdlib
2021-05-31 21:49:37 -04:00
Richard Feldman
84e60fbceb
Merge pull request #1360 from rtfeldman/doc-functions
...
Functions appear in docs
2021-05-31 21:48:58 -04:00
Jared Ramirez
e81e662847
Merge branch 'trunk' into nix-and-direnv
2021-05-31 15:47:15 -07:00
Jared Ramirez
966bb80cdc
Format & rename some Nix stuff; Remove custom .envrc use nix stuff in favor of stdlib
2021-05-31 15:40:26 -07:00
Folkert de Vries
60e7684948
Merge branch 'trunk' into morphic-recursive-types-hack
2021-05-31 23:21:31 +02:00
Folkert
7bafa42d4d
make alias analysis pass the test suite without panics
2021-05-31 23:19:14 +02:00
tarjei
bec6e556d5
Merge branch 'trunk' into builtins/list-swap
2021-05-31 19:16:31 +02:00
tarjei
45185d1e84
Implement List.swap in zig
2021-05-31 19:08:37 +02:00
Chadtech
9c90e7834c
Merge branch 'trunk' into doc-functions
2021-05-31 01:57:05 -04:00
Chadtech
142f271956
Merge branch 'trunk' into doc-functions
2021-05-30 19:52:09 -04:00
Chadtech
4c1a5b3f62
Functions appear in docs
2021-05-30 19:48:16 -04:00
Folkert de Vries
d263016a84
Merge branch 'trunk' into morphic-static-strings
2021-05-30 23:03:29 +02:00
Folkert
b3e83b917c
flip set key/value
2021-05-30 23:03:05 +02:00
Folkert
54057c90b8
new mono testing mechanism
2021-05-30 18:09:41 +02:00
Folkert
22a4df0e5e
add test_mono_macros crate
2021-05-30 16:48:42 +02:00
Folkert
e1a444793d
Merge remote-tracking branch 'origin/trunk' into catch-cleanup
2021-05-30 15:05:40 +02:00
Folkert
6d68f879e0
cleanup landingpad for foreign calls
2021-05-30 15:05:30 +02:00
Folkert
03cc96f4ed
rename Rethrow -> Resume
2021-05-30 14:44:46 +02:00
Folkert
4eacbf5794
remove cxa_rethrow_exception
2021-05-30 14:42:04 +02:00
Richard Feldman
d53d444a1f
Merge pull request #1354 from rtfeldman/centralize-inkwell
...
centralize inkwell imports
2021-05-29 21:34:00 -04:00
Richard Feldman
4bf4de8ae9
Merge pull request #1353 from rtfeldman/imported-thunks
...
Imported thunks
2021-05-29 21:30:39 -04:00
Folkert
50ea46e73e
add test
2021-05-29 23:29:33 +02:00
Folkert
64576ddab5
add exception id to invoke/rethrow
2021-05-29 23:27:43 +02:00
tarjei
ade591dd10
Fix plumbing
2021-05-29 22:21:25 +02:00
Folkert
3636e18a18
centralize inkwell imports
2021-05-29 21:46:33 +02:00
tarjei
107822a5cc
Add plumbing for List.swap
2021-05-29 21:30:16 +02:00
tarjei
98011f48a8
Add tests
...
These tests cover, for good measure:
- swapping an empty list
- swapping elements outside a list
- swapping a short list
- swapping with reversed args
- swapping the middle of a long list
- swapping with one index outside the list
- swapping the same index with itself
2021-05-29 20:58:59 +02:00
Folkert
551c9355a6
run rustfmt
2021-05-29 20:57:27 +02:00
Folkert
a77b5504d8
force imported thunks when used
2021-05-29 20:48:57 +02:00
Folkert
3105f09b2f
use empty tag union for tag union with no members
2021-05-29 20:44:53 +02:00
Jared Ramirez
a4d3f96f25
Run build script instead of zig build on big sur
2021-05-28 17:03:59 -07:00
Folkert
25c9089334
Revert "thread alias analysis solutions"
...
This reverts commit b75c40e65b
.
2021-05-28 23:57:26 +02:00
Folkert
b75c40e65b
thread alias analysis solutions
2021-05-28 23:57:11 +02:00
Folkert
1b3bbaf5de
define one global static str
2021-05-28 23:56:52 +02:00
Richard Feldman
2c0b52dd6f
Fix mono test
2021-05-27 22:16:07 -04:00
Richard Feldman
4af5cda91d
Reuse a variable instead of duplicating strings
2021-05-27 22:16:07 -04:00
Richard Feldman
3a35fe55cf
Combine two conditionals, rename some stuff
2021-05-27 22:16:07 -04:00
Folkert
577d801829
Merge remote-tracking branch 'origin/trunk' into morphic-static-strings
2021-05-27 20:28:27 +02:00
Richard Feldman
39e873cfe2
Merge pull request #1345 from rtfeldman/num-format
...
Add Num.format docs
2021-05-27 06:38:43 -04:00
Richard Feldman
51b1ac77a4
Add Num.format docs
2021-05-26 21:01:38 -04:00
Richard Feldman
d936c30b0c
Merge branch 'trunk' into bitcode
2021-05-26 20:49:25 -04:00
Richard Feldman
519b4f2a12
Merge pull request #1340 from rtfeldman/layout-cleanup
...
Layout cleanup
2021-05-26 20:49:18 -04:00
Richard Feldman
829edd509c
Include builtins.bc in the roc binary
2021-05-26 20:45:27 -04:00
Folkert
fdfc99e4e8
add constructor info in more cases
2021-05-26 21:51:18 +02:00
Folkert
498d3ba3b5
make sure to always switch on the tag id, not the tag itself
2021-05-26 20:18:59 +02:00
Folkert
06b2beb7ca
tags have a union layout
2021-05-26 18:31:55 +02:00
Folkert
e2b200b84f
simplify list layout
2021-05-26 14:28:56 +02:00
Folkert
bfe49d2188
remove Pointer
2021-05-26 14:18:19 +02:00
Folkert
ca5e9518d9
remove PhantomEmptyStruct
2021-05-26 14:14:53 +02:00