Commit graph

24831 commits

Author SHA1 Message Date
Bryce Miller
64c34a5c6d
ast::Has -> ast::Implements 2023-05-20 08:12:20 -04:00
Bryce Miller
d2fed03cb1
has [abilities] -> implements [abilities] 2023-05-20 08:04:26 -04:00
Bryce Miller
b1d592ec37
has clause -> implements clause 2023-05-20 07:15:30 -04:00
Bryce Miller
0f289ed712
add word10 fn 2023-05-19 21:13:33 -04:00
Ayaz
57336e3de1
Merge pull request #5421 from roc-lang/agu-z/record-builder-colon-arrow
New Record Builder `: <-` syntax
2023-05-17 13:27:18 -05:00
Anton-4
3ab37c3ed7
Merge pull request #5419 from dlsmith/fix-help
Fix `roc help`
2023-05-17 18:04:26 +02:00
Agustin Zubiaga
4cd2c957ca
Format multiline reecord builder fields nicely 2023-05-17 12:48:37 -03:00
Brendan Hansknecht
481fc2b78c
Merge pull request #5417 from dlsmith/cli-ld-warning
Consistent handling of ld chained fixup warning in cli/glue tests
2023-05-17 15:27:53 +00:00
Agustin Zubiaga
5edcb31f32
Outdentable record builders 2023-05-17 12:21:39 -03:00
Agustin Zubiaga
b92c50c7be
Remove unnecessary format_record_builder_field_help argument 2023-05-17 12:17:31 -03:00
Agustin Zubiaga
d1feb00170
Track spaces between : and <- in record builders 2023-05-17 11:49:06 -03:00
Agustin Zubiaga
23db4a5e87
Update tests to new record builder syntax 2023-05-17 11:47:34 -03:00
David Smith
cf94eae6fc
Fix roc help
Fixes omission in the [clap v4 upgrade](https://github.com/roc-lang/roc/pull/5405)

See [relevant bullet](2d4644a870/CHANGELOG.md (LL590C32-L590C67)) in changelog.
2023-05-17 10:34:06 -04:00
David Smith
051fca2f68
Share stripping of ignorable strings in has_error helper 2023-05-17 10:08:16 -04:00
Agustin Zubiaga
731cd4257d
Record Builder colon arrow syntax 2023-05-16 22:44:55 -03:00
Folkert de Vries
d6dfdabd16
Merge pull request #5396 from roc-lang/simpl-record-layout
Simplify record layout
2023-05-17 01:17:25 +02:00
David Smith
58cb8352bb
Consistent handling of ld chained fixup warning in cli/glue tests 2023-05-16 17:12:13 -04:00
Ayaz
c072eda598
Merge pull request #5415 from agu-z/agu-z/record-builder-syntax
Prevent record builder field names from shadowing other symbols
2023-05-16 12:41:35 -05:00
Ayaz Hafiz
a67c148be7
Convert LayoutRepr::Struct into a tuple variant 2023-05-16 11:58:16 -05:00
Agustin Zubiaga
c43ff03e41
Prevent record builder field names from shadowing other symbols 2023-05-16 13:48:41 -03:00
Richard Feldman
a6bda6eccf
Merge pull request #5163 from lukewilliamboswell/builtin-json
More tests and updates for Json builtin
2023-05-15 19:08:54 -04:00
Brendan Hansknecht
d94b3f521c
Merge pull request #5405 from dlsmith/i5388
Upgrade to clap 4
2023-05-15 20:37:52 +00:00
Brendan Hansknecht
1fe4aae19d
Merge pull request #5412 from aybeedee/precedence-fix
fixed precedence difference for && || operators
2023-05-15 20:37:13 +00:00
Anton-4
9c6aae915b
Merge pull request #5414 from roc-lang/clippy-fix
clippy fix
2023-05-15 20:59:14 +02:00
Anton-4
dfc365b5b3
clippy fix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-15 20:03:15 +02:00
Anton-4
9fd2224afa
clippy fix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-15 19:58:49 +02:00
Anton-4
945e0bfed1
Update confy sha nix
I think confy dependencies changes, so the sha needs to be updated

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-15 19:34:13 +02:00
Richard Feldman
a0f4436886
Merge pull request #5413 from roc-lang/roc-lang-org-fix
fix roc-lang.org
2023-05-15 13:24:15 -04:00
Anton-4
662a0beceb
fix roc-lang.org
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-05-15 19:21:38 +02:00
ayebeedee
98226cb55a
fixed precedence difference for && || 2023-05-15 22:01:17 +05:00
David Smith
1aa45240fd
Update --prebuilt-platform usage in comments and error messages. 2023-05-15 12:53:58 -04:00
David Smith
e1e72a3713
Updates after rebase 2023-05-15 12:31:42 -04:00
David Smith
d06d0dbf9c
Convert --prebuilt-platform to bool flag
With this change, it's no longer possible to cross-compile to any target
other than wasm.
2023-05-15 10:40:37 -04:00
David Smith
54c130ca1a
Address review comments
- Remove `num_args` call that wasn't supposed to be there
- Factor out shared value parser with non-trivial init
2023-05-15 10:40:37 -04:00
David Smith
003aacbf28
Remove unnecessary num_args for an optional single arg 2023-05-15 10:40:37 -04:00
David Smith
0f943c3e64
Code changes for clap 4 upgrade 2023-05-15 10:40:37 -04:00
David Smith
66f71b237b
Upgrade clap version 2023-05-15 10:40:37 -04:00
Folkert de Vries
f2a033d0da
Merge pull request #5406 from JTeeuwissen/cross-layout-reuse
Cross layout reuse
2023-05-15 15:20:23 +02:00
Folkert de Vries
ebc822d3c7
Merge pull request #5408 from Maldus512/issue-5394
Fixes issue #5394
2023-05-15 15:09:01 +02:00
Luke Boswell
89f688b070
fix test reference to Json encoder 2023-05-15 21:38:18 +10:00
Luke Boswell
7f14e9f783
remove test_glue.rs files 2023-05-15 18:54:30 +10:00
Luke Boswell
6d29b69f9b
fix tests for string escapes 2023-05-15 16:59:01 +10:00
Luke Boswell
4d4cfcf981
merge remote/main and update mono tests 2023-05-15 16:51:56 +10:00
J.Teeuwissen
e26a1f2aaa
fixed resetref wasm 2023-05-15 00:53:14 +02:00
J.Teeuwissen
93030fd3c8
ResetRef reachable 2023-05-15 00:53:14 +02:00
J.Teeuwissen
5045d0ffae
dec after expect 2023-05-15 00:53:13 +02:00
J.Teeuwissen
99dae2fd80
expect as borrowed 2023-05-15 00:53:13 +02:00
J.Teeuwissen
797da23f17
build_is_null resetref 2023-05-15 00:53:12 +02:00
Folkert
a289f37eef
handle NULL pointer in Reset 2023-05-15 00:53:12 +02:00
Folkert
c449582951
clippy 2023-05-15 00:53:12 +02:00