Commit graph

8027 commits

Author SHA1 Message Date
Luke Boswell
4920ef8e7d
regenerate test snapshot 2024-03-22 20:44:35 +11:00
Luke Boswell
370ac1e6b8
move suffixed parsing into chomp_identifier_chain 2024-03-22 19:22:05 +11:00
Richard Feldman
d988eadbb1
Merge pull request #6598 from roc-lang/desugar-bang
De-sugar bang `!` for `Defs` nodes
2024-03-21 07:14:01 -04:00
Luke Boswell
4035221dac
desugar no args correctly e.g. Stdin.line! 2024-03-21 19:25:34 +11:00
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
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
Luke Boswell
3b2e9e36b8
rename operator.rs to desugar.rs 2024-03-17 15:57:27 +11: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
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
Anton-4
4b6910c033
fmt 2024-03-15 17:36:03 +01:00
Anton-4
e97cb06e2f
adjusted spacing 2024-03-15 17:24:36 +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
00280f72a8
update name of doc func 2024-03-14 23:33:51 +10:00
faldor20
c4c372de39
Merge branch 'main' into docs 2024-03-14 23:29:35 +10:00
Jonathan Schear
72916dfdf8
Add --verbose flag, move per-module test results behind it 2024-03-13 16:59:06 -04: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
Luke Boswell
2c5b085ed5
Merge branch 'main' into extra-completion-data 2024-03-12 09:02:44 +11:00
Eli Dowling
5167d658a7
clippy and formatting 2024-03-12 06:42:40 +10:00
Eli Dowling
bc879c9869
split imports 2024-03-12 06:42:40 +10:00
Eli Dowling
4174bf38d6
cleanup nitpicks and reorganising 2024-03-12 06:42:39 +10:00
Eli Dowling
a7259a2a52
typo 2024-03-12 06:42:38 +10:00
Eli Dowling
cc4453b301
remove alias 2024-03-12 06:42:37 +10:00
Eli Dowling
7a09a31a6a
clippy 2024-03-12 06:42:37 +10:00
Eli Dowling
234d1d7e03
fix the tests that cargo clippy and fmt somehow broke 2024-03-12 06:42:36 +10:00
Eli Dowling
584a21ea7c
typos 2024-03-12 06:42:35 +10:00
Eli Dowling
6c36d5f510
comment cleanup 2024-03-12 06:42:34 +10:00
Eli Dowling
15faf59c6b
removed unneeded imported modules info 2024-03-12 06:42:34 +10:00
Eli Dowling
ed3649fe1f
cleanup refactor and clippy 2024-03-12 06:42:33 +10:00
Eli Dowling
02f0aca18c
remove un-used? 2024-03-12 06:42:32 +10:00
Eli Dowling
c7e60e69a0
Nice formatting 2024-03-12 06:42:31 +10:00
Eli Dowling
ebd9eda7aa
Added formatting for module completion 2024-03-12 06:42:31 +10:00
Eli Dowling
edb076e5df
completionitems have correct type 2024-03-12 06:42:30 +10:00