Commit graph

6636 commits

Author SHA1 Message Date
Folkert
ca20b8b403
make path to wasm_test_platform.wasm absolute 2022-07-10 22:24:46 +02:00
Folkert
1863bcbd8c
stop using line numbers in unresolved type var messages 2022-07-10 22:17:35 +02:00
Ayaz Hafiz
5e3ccc30cb
Inject List.len into Num, and properly import List in Str 2022-07-10 16:03:30 -04:00
Folkert de Vries
783243a6fa
Merge pull request #3477 from rtfeldman/fix-toStr
Fixes Str.toNum for large number types and turns on other working gen tests
2022-07-10 21:33:06 +02:00
Folkert
239ef9cbe1
my comment is not a code snippet, cargo 2022-07-10 21:31:26 +02:00
Folkert
a671b57f83
consider expect in inc/dec 2022-07-10 20:56:56 +02:00
Folkert
830dd03b30
add comment 2022-07-10 20:48:57 +02:00
Ayaz Hafiz
7722601504
Remove stray dbg 2022-07-10 14:40:06 -04:00
Folkert de Vries
cd59e07374
Merge pull request #3468 from rtfeldman/remove-transitive-builtins
remove transitive builtins
2022-07-10 20:07:29 +02:00
Folkert
67cbe6a590
pipe a list of expects to llvm codegen 2022-07-10 20:04:08 +02:00
Ayaz Hafiz
419a29caeb
Turn on working test 2022-07-10 14:03:18 -04:00
Ayaz Hafiz
08c5467856
Enable tests that failed due to now-fixed exhaustiveness checking
Closes #786
2022-07-10 13:58:16 -04:00
Ayaz Hafiz
4ced6faa9a
Enable ignored rosetree compare test 2022-07-10 13:55:04 -04:00
Ayaz Hafiz
c211ec9790
Don't include DelayedAlias in illegal cycle checks 2022-07-10 13:53:41 -04:00
Ayaz Hafiz
25ba744cdd
Unignore most list gen tests 2022-07-10 13:44:35 -04:00
Ayaz Hafiz
032a8a892b
Use correct callconv for Str.toNum 2022-07-10 13:42:38 -04:00
Folkert
5df489ba23
turn toplevel expects into inline expects 2022-07-10 19:17:51 +02:00
Ayaz Hafiz
1646e84a77
Make json import str 2022-07-10 13:15:30 -04:00
Ayaz Hafiz
7ce1dc53e0
Update load tests 2022-07-10 12:15:41 -04:00
Folkert de Vries
3b60acb938
Merge pull request #3462 from rtfeldman/fix-nested-imports
Fix importing interfaces with nested paths
2022-07-10 18:08:38 +02:00
Folkert
a0fdb0b902
Merge remote-tracking branch 'origin/trunk' into remove-parse-def 2022-07-10 17:54:48 +02:00
Ayaz Hafiz
bd5b62f7e5
Remove SolvedType to_type 2022-07-10 10:48:18 -04:00
Ayaz Hafiz
b04f704b99
Remove constrain_builtin_imports 2022-07-10 10:46:18 -04:00
Folkert
9b9936d1ec
Merge remote-tracking branch 'origin/trunk' into remove-transitive-builtins 2022-07-10 16:42:04 +02:00
Ayaz Hafiz
98287e7670
Remove imported_builtins from load 2022-07-10 10:41:06 -04:00
Folkert de Vries
73ce1cda5d
Merge pull request #3472 from rtfeldman/fix-comments
Allow single-line comments in multiline annotations
2022-07-10 16:38:40 +02:00
Ayaz Hafiz
f06c2af4f1
Make sure Json.roc imports List 2022-07-10 10:32:28 -04:00
Folkert
d8625768ec
Merge remote-tracking branch 'origin/trunk' into wasm-test-wasm3 2022-07-10 15:45:15 +02:00
Folkert
680f026c6b
re-use wasm test code for llvm wasm tests 2022-07-10 15:36:27 +02:00
Ayaz
7c5dac7bcf
Merge pull request #3475 from rtfeldman/llvm-test-mode
add wasm test mode that influences test wrapper codegen
2022-07-10 08:32:53 -05:00
Folkert
e36f6f0908
codegen an llvm test wrapper similar to the wasm one 2022-07-10 15:08:41 +02:00
Richard Feldman
c45e3ec4b4
Merge remote-tracking branch 'origin/trunk' into fix-nested-imports 2022-07-10 08:52:38 -04:00
Richard Feldman
c09fd5ea91
Merge remote-tracking branch 'origin/trunk' into fix-comments 2022-07-10 08:52:20 -04:00
Folkert
c961d08b7e
link llvm output with the wasm test platform 2022-07-10 14:25:43 +02:00
Folkert
959af4dbfb
build wasm test platform when running llvm wasm tests 2022-07-10 14:12:21 +02:00
Folkert
f0adf02d7b
make llvm wasm tests compile (fails at runtime) 2022-07-10 14:11:18 +02:00
Folkert
1ed648554d
rename wasm-cli-run -> gen-llvm-wasm 2022-07-10 14:08:35 +02:00
Brian Carroll
f80ab79c8e
test_gen: remove wasmer-wasi dependency 2022-07-10 14:08:35 +02:00
Brian Carroll
a170caf9a6
test_gen: refactor to tidy things up 2022-07-10 14:08:35 +02:00
Brian Carroll
66a7955475
test_gen: get wasm linking test working with DCE 2022-07-10 14:08:34 +02:00
Brian Carroll
0b0c54d676
test_gen: update wasm linking tests to work withx wasm3 runtime 2022-07-10 14:08:34 +02:00
Brian Carroll
6da71008cb
test_gen: update build script for easier debug 2022-07-10 14:08:34 +02:00
Brian Carroll
e402f1c9d8
test_gen: remove wasmer entirely, and get refcount tests working with wasm3 2022-07-10 14:08:33 +02:00
Brian Carroll
105fe0d456
Handle test cases where roc_panic is dead-code eliminated 2022-07-10 14:08:33 +02:00
Brian Carroll
35dc65440c
test_gen: use include_bytes! instead of std::fs::read for test host 2022-07-10 14:08:32 +02:00
Folkert
378990a003
remove get_roc_panic_msg 2022-07-10 14:08:32 +02:00
Folkert
cc4f88b0e4
find and print the error message on panic 2022-07-10 14:08:31 +02:00
Folkert
3ce8527ec1
use Rc<Mutex<>> to work around lifetime issues 2022-07-10 14:08:31 +02:00
Brian Carroll
eb90af7e0d
try to read the callback after the panic 2022-07-10 14:08:31 +02:00
Brian Carroll
a8dcd38ef3
try to read the panic message in the callback 2022-07-10 14:08:30 +02:00