Commit graph

3961 commits

Author SHA1 Message Date
rvcas
a046bbe32a feat(RocDec): add last few RocStr tests 2021-06-01 20:09:10 -04:00
rvcas
d994b02fe4 Merge branch 'dec-from-string' of github.com:rtfeldman/roc into dec-from-string 2021-06-01 19:56:54 -04:00
rvcas
f6f2a13daa feat(RocDec): fromString takes RocStr 2021-06-01 19:56:21 -04:00
Jared Ramirez
76e6daad50 fix: parsing negatives decimals 2021-06-01 16:51:28 -07:00
Lucas
f855228339
Merge branch 'trunk' into dec-from-string 2021-06-01 19:22:52 -04:00
rvcas
d57277de4b fix: RocDec tests
* try in tests starts in 0.8.0 not 0.7.1
* needed an @intCast in fromU64
* removed if statements in test cases in favor of checking null equality
  and unwrapping the optional
2021-06-01 19:13:54 -04:00
Richard Feldman
9a17baa9df
Merge branch 'trunk' into inkwell-set-name 2021-06-01 17:48:59 -04:00
Folkert
29944589c8 const zero 2021-06-01 22:39:28 +02:00
Folkert
05d94e5c5f ptr type 2021-06-01 22:38:11 +02:00
Folkert
636d6719eb use builtin set_name 2021-06-01 22:33:04 +02:00
Folkert
d7ed1de15f Merge remote-tracking branch 'origin/trunk' into catch-cleanup 2021-06-01 21:48:06 +02:00
Folkert
fb6ba3de57 update mono tests 2021-06-01 21:45:51 +02:00
Folkert
1353c5e26f Merge remote-tracking branch 'origin/move_mono_test' into catch-cleanup 2021-06-01 21:43:30 +02:00
rvcas
792ff5d5ed feat: delete old mono tests 2021-06-01 15:40:51 -04:00
rvcas
ef252fb732 feat: move tests over 2021-06-01 15:40:34 -04:00
rvcas
6001312393 chore: add mono txt files to git 2021-06-01 15:40:12 -04:00
Jared Ramirez
8952b942b7
Merge branch 'trunk' into dec-from-string 2021-05-31 19:52:33 -07:00
Jared Ramirez
a691afbf0e Add a few more test cases 2021-05-31 19:52:19 -07:00
Jared Ramirez
81b14b9122 Add RocDec.fromString 2021-05-31 19:39:08 -07:00
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