Commit Graph

17996 Commits

Author SHA1 Message Date
Ayaz Hafiz
e2454f497f
Store declared implementations, both custom and derived, in abilities store 2022-07-25 09:09:01 -04:00
Ayaz Hafiz
6035e45f25
Store derivable ability members statically 2022-07-25 09:09:00 -04:00
Richard Feldman
10001876bb
Merge pull request #3629 from rtfeldman/when-binop
Allow `when` after infix operators
2022-07-25 08:59:54 -04:00
Richard Feldman
a790db6159
Merge pull request #3613 from rtfeldman/i3263
Allow underscores in assignment patterns, and warn on assignments that don't add anything new
2022-07-25 08:59:40 -04:00
Richard Feldman
d2dd4f3e0b
Update reporting snapshot 2022-07-24 19:16:48 -04:00
Richard Feldman
d4f192ffd6
Change "an when" to "a when" in error message 2022-07-24 19:15:51 -04:00
Richard Feldman
a1a3eff278
Support when after binop 2022-07-24 18:25:02 -04:00
Richard Feldman
bbf867c1d1
Reproduce missing support for when after operator 2022-07-24 18:25:02 -04:00
Richard Feldman
0d2141d8b8
Separate out parse_loc_term_or_underscore_or_if 2022-07-24 18:15:18 -04:00
Folkert de Vries
834378503f
Merge pull request #3625 from rtfeldman/multiple-expects
Multiple expects
2022-07-25 00:04:37 +02:00
Richard Feldman
fdfac6b52f
Merge pull request #3628 from rtfeldman/llvm-wasm-on-ci
llvm wasm on ci
2022-07-24 17:13:45 -04:00
Richard Feldman
a9483e4098
Merge pull request #3626 from rtfeldman/llvm-wasm-tests
Llvm wasm tests
2022-07-24 17:12:19 -04:00
Richard Feldman
089fae2d56
Merge pull request #3627 from rtfeldman/glue
Replace separate bindgen CLI with `roc glue`
2022-07-24 17:04:20 -04:00
Ayaz Hafiz
c882c76685
Update test 2022-07-24 16:12:47 -04:00
Ayaz Hafiz
0d13dcb1af
Update can tests 2022-07-24 16:11:05 -04:00
Ayaz Hafiz
e20b5f6ee1
Support underscore assignments in roc_ast 2022-07-24 16:11:05 -04:00
Ayaz Hafiz
cb42d9b076
Remove subsumed test 2022-07-24 16:11:05 -04:00
Ayaz Hafiz
e15278024a
Add no-introduced-variables test for toplevel defs 2022-07-24 16:11:05 -04:00
Ayaz Hafiz
0de32ac5a9
Warn on definitions that introduce no new variables 2022-07-24 16:11:04 -04:00
Ayaz Hafiz
beccc92c87
Support underscores in assignment patterns 2022-07-24 16:11:03 -04:00
Ayaz Hafiz
569e90d682
Fix test change due to underscore parsing in patterns 2022-07-24 16:10:36 -04:00
Ayaz Hafiz
639fcb076b
Add test for using only underscore as identifier name 2022-07-24 16:10:35 -04:00
Ayaz Hafiz
fbd70c4031
Parse assignment patterns with underscores 2022-07-24 16:10:01 -04:00
Folkert
505cd8dd2f
enable wasm llvm tests on CI 2022-07-24 21:24:57 +02:00
Brendan Hansknecht
3e82d30e89
Merge pull request #3619 from rtfeldman/gen-dev/array
Gen dev/array
2022-07-24 18:21:20 +00:00
Richard Feldman
4abad75d67
Revert "Don't use deprecated Arg::value_of_t"
This reverts commit 20275f480b.
2022-07-24 13:58:08 -04:00
Richard Feldman
e2de5519a7
Remove unnecessary clone - thanks, Clippy! 2022-07-24 12:01:38 -04:00
Richard Feldman
ad563f0600
Drop unused ctor dependency 2022-07-24 12:00:43 -04:00
Richard Feldman
ed69a73786
Update glue tests 2022-07-24 11:57:01 -04:00
Richard Feldman
cc790a2773
fixup! Rename bindgen_rs to rust_glue 2022-07-24 11:54:40 -04:00
Folkert
916ab396c0
don't read uninitialized memory 2022-07-24 17:53:59 +02:00
Richard Feldman
fcd9819118
Print formatted reports for roc glue errors 2022-07-24 11:23:23 -04:00
Richard Feldman
946b44cfd0
Fix some type mismatches 2022-07-24 11:22:58 -04:00
Folkert
9cb611e540
clippy 2022-07-24 16:49:42 +02:00
Richard Feldman
3765cbbc8f
Drop obsolete templates and main.rs 2022-07-24 10:46:27 -04:00
Richard Feldman
fc7351508e
Rename bindgen_rs to rust_glue 2022-07-24 10:41:52 -04:00
Richard Feldman
4bc961a453
Have the roc CLI use the new glue 2022-07-24 10:41:05 -04:00
Folkert
7953da1c71
clippy 2022-07-24 16:33:57 +02:00
Folkert
11c0ca2f1b
wasm test wrapper: don't return dangling pointers 2022-07-24 16:28:41 +02:00
Richard Feldman
7258446283
Make roc_glue a library, not a separate CLI 2022-07-24 10:25:27 -04:00
Richard Feldman
98c6ab0e97
Rename crates/bindgen to crates/glue 2022-07-24 10:25:24 -04:00
Richard Feldman
20275f480b
Don't use deprecated Arg::value_of_t 2022-07-24 10:04:49 -04:00
Richard Feldman
e707084541
Add roc glue subcommand 2022-07-24 10:04:28 -04:00
Folkert
d87c079620
change how tags are created
wasm in optimize mode just removed the whole tag creation
2022-07-24 15:50:54 +02:00
Folkert
425004dd28
remove duplicate test 2022-07-24 15:49:21 +02:00
Richard Feldman
c5f04aaf73
s/root module/main module/g 2022-07-24 09:39:10 -04:00
Richard Feldman
0629b3c279
Merge pull request #3624 from rtfeldman/fix_readme_links
Fix some repo hyperlinks in the README
2022-07-24 08:23:34 -04:00
Folkert
6e12ac191d
check i128 alignment for wasm too 2022-07-24 14:11:52 +02:00
Folkert
2181d4c498
cleanup 2022-07-24 14:11:37 +02:00
Folkert
91a11a70af
fix str_walk_utf8_with_index 2022-07-24 14:04:41 +02:00