Commit graph

139 commits

Author SHA1 Message Date
Richard Feldman
f575807834
Merge remote-tracking branch 'origin/trunk' into outdent-infix 2022-07-16 16:08:36 -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
Richard Feldman
7908e8c176
roc format examples 2022-07-13 23:16:09 -04:00
Folkert
06938429a1
Merge branch 'assoc-list-dict' into pretty-expect-output 2022-07-14 00:39:01 +02:00
Folkert
6bc88a42d7
enable some dict tests for wasm 2022-07-13 20:53:18 +02:00
Folkert
d85158e813
add case 2022-07-13 20:14:21 +02:00
Folkert
ed27e0ea62
Dict and Set are always in scope 2022-07-13 19:36:53 +02:00
Ayaz Hafiz
980c3f1421
Use decimal formatting for float Num.toStr 2022-07-13 12:35:49 -04:00
Ayaz Hafiz
66b8d145a9
Support Num.toStr for dec 2022-07-13 12:13:21 -04:00
Ayaz Hafiz
b7c312d449
Support Num.toStr for f32, f64 2022-07-13 12:13:01 -04:00
Ayaz Hafiz
b61ffd3684
Add more test gen for derived impls 2022-07-13 08:47:39 -04:00
Ayaz Hafiz
63adb901b4
A couple hacks to get deriving of records working.. but it's working? 2022-07-13 08:47:38 -04:00
Ayaz Hafiz
9760462ec5
Ignore record deriving test for now 2022-07-13 08:47:37 -04:00
Ayaz Hafiz
9826253785
Deriving string encoders works 2022-07-13 08:47:37 -04:00
Ayaz Hafiz
6f9b3553e4
Add Encode.custom captures test 2022-07-13 08:47:37 -04:00
Folkert
5aef349f09
comment list with void type 2022-07-13 11:34:07 +02:00
Folkert
cf69d41a7b
implement set operations on dict 2022-07-13 11:33:39 +02:00
Folkert
79f8ae4e69
make Set/Dict mostly work 2022-07-13 11:15:57 +02:00
Folkert
3b2b0bba64
fix test syntax 2022-07-13 01:06:27 +02:00
Brian Carroll
8533d00f1a
test_gen: place test host .wasm file in Cargo build directory 2022-07-11 20:47:24 +01:00
Folkert
f7d556b0d1
Merge remote-tracking branch 'origin/trunk' into wasm-test-wasm3 2022-07-10 22:46:15 +02:00
Folkert
ca20b8b403
make path to wasm_test_platform.wasm absolute 2022-07-10 22:24:46 +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
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 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
680f026c6b
re-use wasm test code for llvm wasm tests 2022-07-10 15:36:27 +02: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
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