Commit graph

6702 commits

Author SHA1 Message Date
Agus Zubiaga
d692fc7c42
Format effectful arrows in annotations 2024-11-07 18:54:11 -03:00
Agus Zubiaga
ef4eeb5c1a
Parse effectful arrow in function annotations 2024-11-07 18:54:11 -03:00
Agus Zubiaga
1a5776653c
Merge pull request #7203 from roc-lang/improve-unhandled-syntax-err 2024-11-06 20:52:31 -03:00
Agus Zubiaga
2238755de3
Merge pull request #7202 from roc-lang/report-return-syntax-err
Report `return` syntax errors
2024-11-06 12:54:41 -03:00
Agus Zubiaga
160dbee943
Nicer message for unhandled expr errors 2024-11-06 12:15:38 -03:00
Agus Zubiaga
f4c8492c1c
Report return syntax errors 2024-11-06 10:50:32 -03:00
Agus Zubiaga
c1a82ae59b
Merge pull request #7199 from roc-lang/fix-imports-in-expect-7025 2024-11-06 07:56:21 -03:00
Agus Zubiaga
0dedab1725
Fix imports in expects #7025 2024-11-05 19:13:29 -03:00
Agus Zubiaga
625a5425f4
Unify import params on copied variable 2024-11-05 18:10:01 -03:00
Sam Mohr
de124ecc3e
Finish adding tests 2024-11-02 21:58:25 -07:00
Sam Mohr
71b1fdebc4
Add canonicalization tests 2024-11-02 13:37:10 -07:00
Sam Mohr
b43a9e3edb
Remove out-of-date comment 2024-11-02 09:51:55 -07:00
Sam Mohr
308defac46
Implement the try keyword with desugaring 2024-11-01 17:34:11 -07:00
Sam Mohr
facad9943d
Fix clippy issue 2024-10-29 20:30:27 -07:00
Sam Mohr
66cc96edbb
Address PR comments from @ayazhafiz 2024-10-29 15:58:35 -07:00
Sam Mohr
c19cfb0a34
Fix test_gen incorrect macro invocations 2024-10-26 18:22:19 -07:00
Sam Mohr
346a2d9467
Simplify tail-call checks 2024-10-26 16:29:14 -07:00
Sam Mohr
33d868117f
Fix clippy issue 2024-10-26 06:56:32 -07:00
Sam Mohr
39687fdb97
Merge branch 'main' into return-keyword 2024-10-26 06:50:16 -07:00
Sam Mohr
a9cd6ac5fa
Fix tailcalling 2024-10-26 06:48:01 -07:00
Sam Mohr
6a2ffb2f5a
Implement most of the recent round of PR feedback 2024-10-26 04:17:50 -07:00
Ayaz
e1183e58e5
Merge pull request #7179 from JRI98/unused_emptytuple
Remove unused EmptyTuple variant from FlatType enum
2024-10-25 09:19:57 -04:00
Sam Mohr
03f83a0ba8
Update uitest tests 2024-10-25 04:58:33 -07:00
Sam Mohr
012387b1ff
Fix tests broken by recent internal syntax changes 2024-10-25 04:23:48 -07:00
Sam Mohr
8a0cc10c93
Add test_gen tests for early returns 2024-10-24 23:41:53 -07:00
Sam Mohr
ca762127e5
Fix formatting and clippy errors 2024-10-24 23:11:20 -07:00
Sam Mohr
294f0c0d1f
Merge branch 'main' into return-keyword 2024-10-24 23:01:10 -07:00
Sam Mohr
e9c096088a
Remove unnecessary vec size reservation 2024-10-24 23:00:37 -07:00
Sam Mohr
01369dc6d8
Add mono tests to validate refcounts with early return 2024-10-24 22:56:03 -07:00
Luke Boswell
06996d88f2
Merge pull request #7178 from JRI98/fix_6240
Fix #6240
2024-10-24 13:29:47 +11:00
JRI98
edd0bb553d
Remove unused EmptyTuple variant from FlatType enum 2024-10-22 16:29:53 +01:00
JRI98
511308d4d3
Fix #6240 2024-10-22 12:04:48 +01:00
Richard Feldman
21dd2ad85d
Update parsing snapshot tests 2024-10-21 23:19:25 -04:00
Richard Feldman
8997c80573
Remove deprecated roc_collections::soa things 2024-10-21 23:17:20 -04:00
Richard Feldman
d796b3ec74
Update insta tests 2024-10-21 23:09:55 -04:00
Richard Feldman
458899b25b
use #[deprecated] 2024-10-21 22:34:29 -04:00
Richard Feldman
9590db6bd0
use #[deprecated]
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-10-21 22:33:37 -04:00
Richard Feldman
3dbddb3846
use #[deprecated]
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-10-21 22:31:20 -04:00
Richard Feldman
c9c7156db5
Fix insta tests 2024-10-21 22:10:44 -04:00
Richard Feldman
ab17bfc260
Drop unnecessary comment 2024-10-21 22:10:44 -04:00
Richard Feldman
08b32927f1
Implement @smores56's feedback from #7156 2024-10-21 22:10:44 -04:00
Richard Feldman
62b4fe6943
clippy 2024-10-21 22:10:43 -04:00
Richard Feldman
e589923ae8
Make collections::soa use the soa crate 2024-10-21 22:10:43 -04:00
Richard Feldman
44d00e1f13
Updates for making soa no_std 2024-10-21 22:10:43 -04:00
Richard Feldman
178bc469e6
Put back a bunch of the push_new etc. calls 2024-10-21 22:10:43 -04:00
Richard Feldman
49d1786f6c
Remove more push_new and extend_new usages 2024-10-21 22:10:43 -04:00
Richard Feldman
b2ea0b842c
Revert "Do some checked SoA stuff"
This reverts commit c79d7745f6eb345fd50a7cb4a2a7dd6fb6f8f1fc.
2024-10-21 22:10:43 -04:00
Richard Feldman
a8d3280b02
Do some checked SoA stuff 2024-10-21 22:10:42 -04:00
Sam Mohr
7518a2c5ab
Address PR comments, add syntax tests 2024-10-21 03:06:43 -07:00
Sam Mohr
b3e60f9d3a
Implement return keyword 2024-10-20 08:58:59 -07:00