Commit graph

6727 commits

Author SHA1 Message Date
Luke Boswell
5e2fc1c3fd
handle suffixed after pizza |> 2024-03-21 18:04:52 +11:00
Luke Boswell
a983ab8341
use CalledVia::BangSuffix 2024-03-21 15:51:21 +11:00
Luke Boswell
a394f1b4cf
update from review comments 2024-03-21 15:46:14 +11:00
faldor20
e77759eb1c
Allow encoding records,lists and tuples with None fields 2024-03-20 21:10:37 +10:00
Trevor Settles
fedc0f5dfb
removed and linted unused example imports 2024-03-19 20:47:44 -06:00
Luke Boswell
e74501981e
fmt and clippy fixes 2024-03-20 12:31:04 +11:00
Luke Boswell
cc10df6db9
handle Suffixed is in the middle of our Defs 2024-03-20 11:48:08 +11:00
Luke Boswell
248c2a3f34
handle only one def that is Suffixed 2024-03-20 09:57:48 +11:00
Luke Boswell
c4b459b436
handle Suffixed in first index 2024-03-20 09:49:12 +11:00
Luke Boswell
d6a01b3014
WIP stuck on removing Defs 2024-03-19 16:03:29 +11:00
Richard Feldman
ad78e04012
Merge pull request #6585 from roc-lang/infer-lowlevel-caller-borrow-signature
infer for a proc whether it is OK to pass an argument as borrowed
2024-03-18 22:24:29 -04:00
Luke Boswell
406ffdffab
WIP partial implementation for desugar_defs_node_suffixed 2024-03-19 12:57:30 +11:00
Richard Feldman
9d5f6cd417
Merge pull request #6584 from roc-lang/lowleve-borrow-signature-static
make the lowlevel borrow signature have a static lifetime
2024-03-18 13:37:08 -04:00
faldor20
56481dc724
clippy and comments
comments and clippy
2024-03-17 20:33:30 +10:00
faldor20
089c499fc6
fixed types so tests are happy 2024-03-17 20:33:30 +10:00
faldor20
46122262ff
splitup record decoder 2024-03-17 20:33:30 +10:00
faldor20
17599ec911
cleanup
fix error

cleanup
2024-03-17 20:33:30 +10:00
Luke Boswell
3b2e9e36b8
rename operator.rs to desugar.rs 2024-03-17 15:57:27 +11:00
Trevor Settles
949b3f83bd
Merge branch 'main' of https://github.com/rtfeldman/roc into parser-docs 2024-03-16 15:02:49 -06:00
Trevor Settles
5660de93e0
removed one_of_with_error 2024-03-16 15:02:09 -06:00
Richard Feldman
14ba398b5d
Merge pull request #6569 from faldor20/docs
Add docs to completions and hover
2024-03-16 11:22:58 -04:00
Anton-4
ad4fa6a4d7
fix spelling 2024-03-16 14:44:36 +01:00
Anton-4
3fadcf7bcb
style changes 2024-03-16 14:41:08 +01:00
Trevor Settles
6d64bbb65a
Merge branch 'main' into parser-docs 2024-03-15 18:14:56 -06:00
dependabot[bot]
ec916a8f45
Bump follow-redirects in /crates/compiler/checkmate/www
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 18:15:36 +00:00
Anton-4
121c585681
Merge pull request #6567 from jschear/js/expects_per_module
Run expects separately per module, report test results per module behind `--verbose` flag
2024-03-15 19:15:00 +01:00
Luke Boswell
f48ac46ba1
remove formatted snapshot as there should be no change 2024-03-15 14:40:41 +11:00
Luke Boswell
e2557067c8
add nested snapshot for suffixed expr 2024-03-15 14:40:09 +11:00
Luke Boswell
8bbbd768ec
add snapshot test for suffixed expr 2024-03-15 14:39:21 +11:00
Richard Feldman
9bc0ab79af
Parse Expr::Suffixed 2024-03-15 14:39:14 +11:00
Richard Feldman
88042c2578
Rename has variable to implements 2024-03-15 14:39:04 +11:00
faldor20
2565580db5
working initial implementation 2024-03-15 13:31:11 +10:00
Trevor Settles
fd8c13010a
added links in docs 2024-03-14 15:32:04 -06:00
Trevor Settles
6a9982a0a7
Merge branch 'main' into parser-docs 2024-03-14 11:37:13 -06:00
Trevor Settles
c4172be7ce
fixed type parser -> parsers 2024-03-14 11:35:59 -06:00
Trevor Settles
bf96a59bbc
example and docs for backtrackable 2024-03-14 11:26:23 -06:00
Trevor Settles
3ebaa592f6
function versions for loc and map_with_arena macros 2024-03-14 11:19:18 -06:00
Trevor Settles
8ae0d99707
example for between 2024-03-14 11:10:28 -06:00
faldor20
c4c372de39
Merge branch 'main' into docs 2024-03-14 23:29:35 +10:00
Trevor Settles
805ca70f75
example and docs for either 2024-03-13 22:10:35 -06:00
Trevor Settles
5714db6528
example and docs for debug 2024-03-13 21:58:45 -06:00
Trevor Settles
956bfdfde0
aero_or_more and one_or_more 2024-03-13 21:21:51 -06:00
Trevor Settles
2fc7b939da
example and docs for map 2024-03-13 14:04:20 -06:00
Anton-4
1efd7615f0
stylistic improvements 2024-03-13 20:27:23 +01:00
Folkert
51a4192659
infer for a proc whether it is OK to pass an argument as borrowed
this only looks at calls to lowlevels right now, not calls to other functions
2024-03-13 20:12:51 +01:00
Folkert
ae88295365
make the lowlevel borrow signature have a static lifetime
no more allocations, yay!
2024-03-13 19:25:05 +01:00
Trevor Settles
6db6629417
examples and docs for word2 and word3 2024-03-12 21:18:30 -06:00
Trevor Settles
b6d5425f6e
examples and docs for word1_indent 2024-03-12 20:42:35 -06:00
Trevor Settles
7884d92e29
example and docs for word1 2024-03-12 20:11:17 -06:00
Trevor Settles
47b537c278
added example for one_of_with_error 2024-03-12 15:43:08 -06:00