Brendan Hansknecht
d681062c63
add Num.toNat
2022-03-11 11:17:42 -08:00
Brendan Hansknecht
cdf19e3feb
Merge pull request #2698 from rtfeldman/i/2696
...
Make sure casting to unsigned types performs zero-extension
2022-03-10 20:10:33 -08:00
hafiz
8679904fc3
Disable wasm test for now
2022-03-10 18:19:27 -06:00
ayazhafiz
a90bba3d1d
Make sure casting to unsigned types performs zero-extension
...
Closes #2696
2022-03-10 17:39:37 -06:00
Folkert
e90c12ba1f
Merge remote-tracking branch 'origin/trunk' into box-all-the-things
2022-03-10 18:01:09 +01:00
Folkert
98b2ed5d60
add test
2022-03-09 23:07:24 +01:00
Folkert
6543c9bbc6
Merge remote-tracking branch 'origin/trunk' into box-all-the-things
2022-03-09 00:00:15 +01:00
Folkert
be28ee2a64
add test
2022-03-08 22:21:37 +01:00
Brian Carroll
7e0b439ef5
test_gen: add missing #[test] attribute
2022-03-08 08:57:52 +00:00
Brian Carroll
4d14fbf562
wasm: use a debug-friendly enum for refcount tests
2022-03-08 07:43:01 +00:00
Brian Carroll
eaf76aa879
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error
2022-03-07 20:02:44 +00:00
Brian Carroll
92ace8ff67
Merge pull request #2626 from rtfeldman/gen-dev/quicksort2
...
Gen dev - Quicksort
2022-03-07 17:46:46 +00:00
ayazhafiz
3bff99b0a2
Register accessor closures when they are bound
...
Previously we only registered record accessor closures in anonymous
contexts, where we assume they must already be specialized based on the
surrounding contexts. This is not true in general since one might bind
an accessor to a name.
Closes #2567
2022-03-06 10:53:12 -05:00
Brian Carroll
770155312c
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error
2022-03-04 21:22:08 +00:00
Brian Carroll
338961d202
wasm: go back to custom bytes->string transformation
...
CStr version is too hard to get working correctly. I get weird test failures
with random characters in the middle of strings.
2022-03-04 19:52:27 +00:00
Brian Carroll
20e46fbda4
wasm: address PR feedback
2022-03-04 19:12:18 +00:00
Brian Carroll
a7899bdded
wasm: enable another roc_panic test
2022-03-02 08:15:36 +00:00
Brian Carroll
561a1d16ff
wasm: add expect_runtime_error_panic test macro
2022-03-02 08:05:48 +00:00
Brian Carroll
896715cd58
wasm: fix Cargo dependency for ARM
2022-03-02 08:02:21 +00:00
Brian Carroll
85ba3154ec
wasm: fix roc_panic message retrieval
2022-03-01 18:47:51 +00:00
Brendan Hansknecht
a5ce124bd3
Merge branch 'list-replace' into gen-dev/quicksort2
2022-02-27 20:42:45 -08:00
Brian Carroll
8d484e8c9e
wasm: tests read panic message from a global pointer
2022-02-28 00:53:01 +00:00
Brendan Hansknecht
457ba524aa
fix tests and alias analysis
2022-02-27 15:20:54 -08:00
Brian Carroll
7ccc5ec768
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error
2022-02-27 22:57:23 +00:00
Brendan Hansknecht
d9e9c28889
add error test case
2022-02-27 00:45:51 -08:00
Brendan Hansknecht
b802d681a3
Merge remote-tracking branch 'origin/trunk' into list-replace
2022-02-27 00:28:08 -08:00
Brendan Hansknecht
7a608524ec
Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort2
2022-02-27 00:26:04 -08:00
Richard Feldman
d3acf34415
Merge pull request #1591 from rtfeldman/single-quote-literal
...
Single Quote literal
2022-02-26 23:27:46 -05:00
Brendan Hansknecht
ffee5ab97a
add some more tests, including failure for new line
2022-02-25 22:05:21 -08:00
Brendan Hansknecht
c025b8806b
disable accidentally enabled test on dev backend
2022-02-25 21:07:20 -08:00
Brendan Hansknecht
39d070e543
flip platform flag to be default
2022-02-25 20:10:36 -08:00
Brendan Hansknecht
c13c8ece1f
pipe target and roc_build features around
2022-02-25 11:37:44 -08:00
Brendan Hansknecht
f59b5cab95
fix undefined symbols in roc_std with platform feature
2022-02-25 11:05:08 -08:00
Brendan Hansknecht
cd0d89fdc9
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-25 07:39:58 -08:00
Brendan Hansknecht
7c6c9b52a9
Merge remote-tracking branch 'origin/trunk' into list-replace
2022-02-25 07:35:00 -08:00
Tom Dohrmann
954064fa1e
make more types more explicit
2022-02-25 13:58:07 +01:00
Tom Dohrmann
868316abb8
make types more explicit
2022-02-25 13:02:11 +01:00
Brendan Hansknecht
116b585cdc
add more tests
2022-02-24 22:59:47 -08:00
Brendan Hansknecht
889b189191
fix list passing
2022-02-24 22:46:50 -08:00
Brendan Hansknecht
dddf8ff785
switch from pair to record and change name to ListReplaceUnsafe
2022-02-24 20:41:26 -08:00
Brendan Hansknecht
ba2e8cd32b
Add base piping for list.Replace
2022-02-24 17:58:56 -08:00
Brendan Hansknecht
c327681ebc
Wasmer: use cranelift for non-x86_64 since singlepass is not supported
2022-02-24 10:31:21 -08:00
Brendan Hansknecht
f7c0e2ef19
Merge remote-tracking branch 'origin/trunk' into single-quote-literal
2022-02-24 10:13:39 -08:00
Tom Dohrmann
788c8a6af2
reimplement RocList
and RocStr
2022-02-23 16:02:13 +01:00
Brian Carroll
3952a7cc7c
test_gen: Add comments to some extremely subtle test code
2022-02-21 22:52:50 +00:00
Brian Carroll
89b8926d27
gen_wasm: fix bug choosing the right proc specialization ( #2549 )
2022-02-21 22:52:45 +00:00
ayazhafiz
dd2b3097e1
Disable WASM test for now
2022-02-21 14:10:46 -05:00
ayazhafiz
475be2363c
Add a gen test for #2535
2022-02-21 14:10:46 -05:00
Brendan Hansknecht
74daec84df
Merge pull request #2472 from rtfeldman/add_Int.toInt_builtins
...
Add `{Int *}.to{Int *}` builtins
2022-02-21 18:03:14 +00:00
Brian Carroll
e8571de1ae
Merge pull request #2517 from rtfeldman/repl-www
...
Web REPL initial version
2022-02-21 13:58:23 +00:00