Commit graph

1055 commits

Author SHA1 Message Date
Folkert
8d4a770373
return list instead of nat 2022-07-24 13:48:06 +02:00
Folkert
4b5432328b
update tag tests 2022-07-24 13:42:06 +02:00
Folkert
60b7f2cf94
additional 32-bit string layout tests 2022-07-24 13:38:11 +02:00
Folkert
df865222bf
Nat overflow is different between targets 2022-07-24 12:53:03 +02:00
Folkert
69fb5e2cef
disable test for wasm that uses pointers 2022-07-24 12:20:29 +02:00
Folkert
29ad54e5d1
rename wasm llvm test wrapper (now it's the same as dev) 2022-07-24 12:20:17 +02:00
Folkert
bece4342ec
improvements to llvm+wasm test running
- run only the wasm tests
- nicer linker error reporting
2022-07-24 12:17:10 +02:00
Folkert
f5c23a219a
remove assert_non_opt_evals_to 2022-07-24 12:12:28 +02:00
Folkert
e1b427839b
implement wasm traits for roc_std::{I128, U128} 2022-07-24 12:07:27 +02:00
Folkert
754dbf4546
make dict/set tests return i64 instead of usize (for wasm) 2022-07-24 11:55:09 +02:00
Folkert
4e83b4352a
reliable i128 alignment 2022-07-24 01:30:10 +02:00
Brendan Hansknecht
35a452a69b
setup partially functional array loading 2022-07-23 07:52:37 -07:00
Brendan Hansknecht
8b672a3fcd
enable empty list test and fix list init 2022-07-23 07:52:37 -07:00
Folkert
93c331e1aa
Merge remote-tracking branch 'origin/trunk' into tag-alignment 2022-07-23 14:27:06 +02:00
Folkert de Vries
d55d1b00d9
Merge pull request #3611 from rtfeldman/i3266
Emit runtime error when tag unions have an error type
2022-07-23 01:28:55 +02:00
Ayaz Hafiz
59ab1da83f
Compile branches in the presence of degenerate patterns
Closes #3614
2022-07-22 18:16:02 -04:00
Ayaz Hafiz
4031770836
Mark branch patterns degenerate when they don't bind symbols body needs 2022-07-22 17:26:45 -04:00
Richard Feldman
bf8711f2cb
Merge pull request #3605 from rtfeldman/wasm-test-cherrypicks
wasm test cherrypicks
2022-07-22 17:06:01 -04:00
Ayaz Hafiz
ed6ee71225
Add test when bound symbols differ in branch patterns, but no bound symbol is used 2022-07-22 16:51:44 -04:00
Ayaz Hafiz
ee516eaa2f
Don't send delayed errors if we're told to ignore problems 2022-07-22 16:51:29 -04:00
Ayaz Hafiz
5ad04dcd2c
Emit runtime error when tag unions have an error type
Closes #3266
2022-07-22 15:46:09 -04:00
Folkert
20c63cd2c9
add tests 2022-07-22 21:13:55 +02:00
Folkert
9cb2bd04fd
fix from wasm32 RocResult implementation 2022-07-22 21:13:55 +02:00
Ayaz Hafiz
4a50ab6d8e
Add nested no-payload gen test 2022-07-22 21:11:34 +02:00
Ayaz Hafiz
4fc59ffc12
Newtype destructures test for record that decay into their only arg 2022-07-22 21:11:32 +02:00
Ayaz Hafiz
43d7a63597
Improve quality of decision tree newtype unwrap gen test 2022-07-22 21:11:32 +02:00
Ayaz Hafiz
eee13a4aa3
Don't add path instructions for newtypes that decay into their args 2022-07-22 21:11:31 +02:00
Folkert de Vries
5aaccd2d5b
Merge pull request #3599 from rtfeldman/i3560
Compile newtypes that decay into non-newtypes in branch patterns
2022-07-22 13:48:11 +02:00
Folkert
ccd8821acf
fix test panic output formatting 2022-07-22 13:33:52 +02:00
Folkert
0e56753bf1
clippy 2022-07-22 13:16:05 +02:00
Folkert
cd98f20989
build wasm3 the normal way 2022-07-22 12:43:17 +02:00
Folkert
4c66db7cbe
stop linking wasi; it is unused 2022-07-22 12:23:10 +02:00
Folkert
03fec5f21c
improve error message 2022-07-22 12:22:36 +02:00
Folkert
8cec4c41f8
define send_panic_msg_to_rust in our debug-wasm-test.html 2022-07-22 12:22:19 +02:00
Folkert
e8b7d27e73
use just one temp dir in wasm llvm tests 2022-07-22 12:22:02 +02:00
Folkert
f1d238cccf
add env var to make the final wasm file be written 2022-07-22 12:19:29 +02:00
Folkert
71d80a08d2
remove wasm helpers into the mod for reuse 2022-07-22 12:19:19 +02:00
Folkert
3ca24a6476
implement wasm memory traits for 4-tuples 2022-07-22 12:18:31 +02:00
Folkert
7e0e635f60
split out ok and err withDefault tests 2022-07-22 12:17:08 +02:00
Folkert
5f8d2df0fa
use new OUT_DIR for llvm wasm backend 2022-07-22 12:10:10 +02:00
Folkert
291b77c83b
stop escaping roc panic strings in the llvm helpers 2022-07-22 12:06:44 +02:00
Folkert
2fe590abf4
store list in a shorter way 2022-07-22 12:05:29 +02:00
Ayaz Hafiz
258727a1e4
Add nested no-payload gen test 2022-07-21 15:08:26 -04:00
Ayaz Hafiz
f3722659fc
Newtype destructures test for record that decay into their only arg 2022-07-21 15:03:18 -04:00
Ayaz Hafiz
929a00e73d
Improve quality of decision tree newtype unwrap gen test 2022-07-21 14:58:42 -04:00
Ayaz Hafiz
1acb7e0748
Don't add path instructions for newtypes that decay into their args 2022-07-21 14:57:17 -04:00
Ayaz Hafiz
92e363f4ef
Add non-basis test gen case for compiling branches with unbound patterns 2022-07-21 12:19:46 -04:00
Ayaz Hafiz
ce8b50caea
Support bound variables in multiple patterns 2022-07-21 11:40:09 -04: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
92b5b0ef42
Fix gen tests 2022-07-18 22:19:10 -04:00