Commit graph

179 commits

Author SHA1 Message Date
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
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
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
Ayaz Hafiz
159ddd3906
Fix gen tests 2022-07-18 17:55:02 -04:00
Ayaz
d5f36a6780
Merge pull request #3568 from rtfeldman/list-maptry 2022-07-18 15:22:38 -05:00
Ayaz Hafiz
efc11bd7ed
Wasm sized and decode for void values 2022-07-18 12:37:48 -04:00
Ayaz Hafiz
6802c3e2b1
Turn on tests that now work 2022-07-18 11:29:27 -04:00
Richard Feldman
b9bded716c
Fix return type in test result 2022-07-18 11:18:30 -04:00
Richard Feldman
fd65f12cad
Merge pull request #3567 from rtfeldman/result-try
Rename `Result.after` to `Result.try`, `Result.afterErr` to `Result.onErr`
2022-07-17 22:47:02 -04:00
Ayaz
d354dd177a
Merge pull request #3564 from rtfeldman/fix-json
JSON doesn't allow trailing commas
2022-07-17 21:43:01 -05:00
Richard Feldman
f2175f31be
Add List.mapTry tests 2022-07-17 21:53:01 -04:00
Richard Feldman
145bd8b4a2
Rename Result.afterErr to Result.onErr 2022-07-17 21:37:32 -04:00
Richard Feldman
0acab0eef3
Rename Result.after to Result.try 2022-07-17 17:25:50 -04:00
Richard Feldman
518b21c3f8
Rename Json.format to Json.toUtf8 2022-07-17 15:21:27 -04:00
Richard Feldman
4af506c530
JSON doesn't allow trailing commas 2022-07-17 15:18:52 -04:00
Richard Feldman
31f7d72ce0
Merge pull request #3529 from rtfeldman/derive-lists
Derive encoding for lists
2022-07-17 14:28:44 -04:00
Richard Feldman
f575807834
Merge remote-tracking branch 'origin/trunk' into outdent-infix 2022-07-16 16:08:36 -04:00
Ayaz Hafiz
8de80b2afa
Add deriving list of records test 2022-07-16 12:31:07 -04:00
Ayaz Hafiz
e06e83be05
Fix JSON list encoding bug 2022-07-16 12:31:07 -04:00
Ayaz Hafiz
ce6c7fce3f
Add list deriving gen test 2022-07-16 12:31:07 -04:00
Ayaz Hafiz
a5a80d2d17
Test immediate encoding derivers 2022-07-15 10:39:09 -04:00
Folkert de Vries
460b822caa
Merge pull request #3501 from rtfeldman/derive-tag-union-encoding-gen
Derive tag union encoding gen
2022-07-15 15:57:41 +02:00
Folkert
b9ebd4fa27 Merge remote-tracking branch 'origin/trunk' into pretty-expect-output 2022-07-15 09:12:04 +02:00
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict 2022-07-14 16:47:50 +02:00
Ayaz Hafiz
02526b6dc2
Mark deriving test for encoding tags as complete 2022-07-14 08:49:46 -04:00
Ayaz Hafiz
b1867a97d2
Unignore test 2022-07-14 08:49:46 -04:00
Ayaz Hafiz
276bb173a0
Add gen tests for derived tag encoders 2022-07-14 08:49:46 -04:00
Ayaz Hafiz
1cf1e114be
Derive tag union encoders 2022-07-14 08:49:45 -04:00
Ayaz
a9243720da
Merge pull request #3496 from rtfeldman/derive-w-mono
Monomorphize and compile derived implementations
2022-07-14 07:45:21 -05:00