Commit graph

6636 commits

Author SHA1 Message Date
Ayaz Hafiz
a56e4a37c3
Get rid of loop 2022-07-22 21:13:51 +02:00
Ayaz Hafiz
5d2cfa1482
Reflect newtypes in path instructions 2022-07-22 21:13:51 +02:00
Ayaz Hafiz
3dd481fbf9
Remove solve test 2022-07-22 21:13:50 +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
Ayaz Hafiz
d4ad981448
Reproduce #3560
Part of #3560
2022-07-22 21:11:31 +02:00
Ayaz Hafiz
a03cf85529
Add a datatype 2022-07-22 13:02:22 -04:00
Ayaz Hafiz
d4cf9b8f8d
Apply is-open constraints to nested types
Closes #3459
2022-07-22 12:57:27 -04:00
Ayaz Hafiz
13b0ce7ca0
Make sure to apply "is-open" constraints at the very end of pattern constraining
Closes #3298
2022-07-22 12:57:27 -04:00
Ayaz Hafiz
613606a67d
Support inference options in solve tests 2022-07-22 12:57:26 -04:00
Richard Feldman
53e7a41f27
Merge pull request #3606 from rtfeldman/bindgen-tag-alignment
bindgen tag alignment
2022-07-22 08:21:03 -04: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
6ab0b5069e
run the formatter 2022-07-22 13:45:51 +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
f85d3243e9
fix implementation of UnionLayout::tag_id_offset 2022-07-22 13:12:44 +02:00
Folkert
9c2e6fca0a
add UnionLayout::tag_id_offset 2022-07-22 12:53:24 +02:00
Folkert
cd98f20989
build wasm3 the normal way 2022-07-22 12:43:17 +02:00
Folkert
6bfe16113d
clippy 2022-07-22 12:29:46 +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
f1ce8b89a0
List.map: send the alignment of the output list element to zig 2022-07-22 12:16:54 +02:00
Folkert
d82e73fff0
ownership; always tricky 2022-07-22 12:11:32 +02:00
Folkert
5f8d2df0fa
use new OUT_DIR for llvm wasm backend 2022-07-22 12:10:10 +02:00
Folkert
ba7ffab790
make wasm test harness work with by-pointer values being returned 2022-07-22 12:09:20 +02:00
Folkert
291b77c83b
stop escaping roc panic strings in the llvm helpers 2022-07-22 12:06:44 +02:00
Folkert
9f80aa4df7
store string correctly on 32-bit platforms 2022-07-22 12:06:04 +02:00
Folkert
2fe590abf4
store list in a shorter way 2022-07-22 12:05:29 +02:00
Christoph Rüßler
c4f141b735 Use Instant over SystemTime to record timings
Closes #3575.
2022-07-22 10:03:47 +02:00
Ayaz Hafiz
90acbd54ef
Get rid of loop 2022-07-21 18:20:11 -04:00
Ayaz Hafiz
5988257bde
Reflect newtypes in path instructions 2022-07-21 18:17:57 -04:00
Richard Feldman
b7d78d9237
Merge pull request #3598 from rtfeldman/i3558
Compile variables bound in multiple patterns of a branch, and detect unbound patterns
2022-07-21 16:45:52 -04:00
Ayaz Hafiz
0004e77940
Remove solve test 2022-07-21 15:09:21 -04: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
961cff94d1
Only permit shadowing past first pattern 2022-07-21 14:35:16 -04:00
Richard Feldman
fac29615c8
Merge pull request #3590 from rtfeldman/update-wording
Update wording on a type mismatch
2022-07-21 14:29:23 -04:00
Folkert de Vries
a432874290
Merge pull request #3592 from rtfeldman/main-dot-roc
Advise using `roc run` with no arg if running `main.roc`
2022-07-21 18:36:39 +02:00
Ayaz Hafiz
52e15bd344
Reproduce #3560
Part of #3560
2022-07-21 12:30:36 -04:00
Ayaz Hafiz
0259c3cf92
s/occurences/occurrences/g 2022-07-21 12:29:09 -04:00