Commit graph

34008 commits

Author SHA1 Message Date
Richard Feldman
b490acffee
Tweak an error message 2025-08-16 12:49:18 -04:00
Richard Feldman
843da2f239
Fix parsing regression 2025-08-16 12:45:57 -04:00
Richard Feldman
3d88ee6a92
Improve some more parsing error messages 2025-08-16 12:41:38 -04:00
Richard Feldman
053cc6e6bf
Improve error reporting regions 2025-08-16 12:35:04 -04:00
Richard Feldman
a0253c244d
Remove unnecessary formatter code 2025-08-16 12:31:22 -04:00
Richard Feldman
b149d28cff
Add a helpful error for parsing curried fn types 2025-08-16 12:31:22 -04:00
Richard Feldman
9438a153bc
Format parens for curried function types 2025-08-16 12:31:22 -04:00
Richard Feldman
4e53fc10b7
Fix let-polymorphism bug 2025-08-16 12:30:34 -04:00
Richard Feldman
61c62002db
Merge pull request #8197 from roc-lang/fix-ret-constraint
Fix lambda return type constraints bug
2025-08-16 09:43:57 -04:00
Richard Feldman
217a5a12d2
Fix some leaks in reports 2025-08-16 00:51:26 -04:00
Richard Feldman
5fbc37370d
Fix parsing of curried functions 2025-08-16 00:48:22 -04:00
Richard Feldman
61e3492717
Fix lints 2025-08-16 00:36:35 -04:00
Richard Feldman
a8b1500924
One more wording tweak 2025-08-16 00:15:30 -04:00
Richard Feldman
0a51e4fecc
Improve some function error detection logic 2025-08-16 00:11:57 -04:00
Richard Feldman
bbb13696da
Delete some dead code (could never come up) 2025-08-16 00:03:59 -04:00
Richard Feldman
a82aa65937
Tweak wording again 2025-08-15 23:57:15 -04:00
Richard Feldman
4f138a0831
Give more specific return errors 2025-08-15 23:54:06 -04:00
Richard Feldman
a866e82d1c
Only mention args if return types unify 2025-08-15 23:30:50 -04:00
Richard Feldman
66dc495f17
Improve an error message 2025-08-15 23:22:48 -04:00
Richard Feldman
6da4302f3f
Fix some more underlines 2025-08-15 22:55:29 -04:00
Richard Feldman
d643683f51
Fix tab spacing in error messages 2025-08-15 22:47:38 -04:00
Richard Feldman
2e5f7d8be1
Fix more error messages 2025-08-15 22:29:12 -04:00
Richard Feldman
f7115b3b0f
More error message improvements 2025-08-15 20:59:40 -04:00
Richard Feldman
95b43f2aea
Update some error message wording 2025-08-15 20:00:05 -04:00
Richard Feldman
926d9a0523
Fix a type checking bug 2025-08-15 19:15:37 -04:00
Richard Feldman
0bd77fe6af
Fix some incorrect error messages 2025-08-15 18:52:08 -04:00
Richard Feldman
cc597648a0
More error message improvements 2025-08-15 18:17:01 -04:00
Richard Feldman
9a3bb0face
Update snapshots 2025-08-15 18:07:23 -04:00
Richard Feldman
aee1921282
Add a new snapshot 2025-08-15 17:58:26 -04:00
Richard Feldman
ab10b5517c
More error message quality improvements 2025-08-15 17:52:45 -04:00
Richard Feldman
76bd12f7c6
Fix typo 2025-08-15 17:17:35 -04:00
Richard Feldman
96efa477b7
Fix some more bidirectional scenarios 2025-08-15 17:13:33 -04:00
Richard Feldman
90f3a088eb
More type inference fixes 2025-08-15 16:46:06 -04:00
Richard Feldman
59544e2b7a
Revise bidirectional typechecking 2025-08-15 16:21:15 -04:00
Richard Feldman
09dc971a20
Merge pull request #8198 from roc-lang/unskip-tests
Uncomment a bunch of tests
2025-08-15 15:45:33 -04:00
Richard Feldman
47c83c7a8f
Update snapshots 2025-08-15 15:24:57 -04:00
Richard Feldman
7a9db5f2c4
Unskip more tests 2025-08-15 15:24:09 -04:00
Richard Feldman
49e58724c2
Uncomment a bunch of tests 2025-08-15 15:13:40 -04:00
Richard Feldman
7109e5f3fd
Delete an unnecessary comment 2025-08-15 15:12:54 -04:00
Richard Feldman
b596d5447d
Fix tracing error 2025-08-15 15:05:26 -04:00
Richard Feldman
7d3562e0fd
Add some snapshot tests 2025-08-15 14:59:37 -04:00
Richard Feldman
dbc44e0236
Use bidirectional annotation checking 2025-08-15 14:51:52 -04:00
Richard Feldman
4242bb621c
Don't unify nominal types in the same way 2025-08-15 14:15:44 -04:00
Richard Feldman
8589e2962b
Merge pull request #8196 from roc-lang/simplify-tests
Simplify let-polymorphism tests
2025-08-15 13:41:01 -04:00
Richard Feldman
989d2d6096
Update snapshots 2025-08-15 13:34:52 -04:00
Richard Feldman
0f22372696
Fix lambda return constraint bug 2025-08-15 12:26:18 -04:00
Richard Feldman
c6a0f99adf
Document which tests are skipped and why 2025-08-15 12:19:37 -04:00
Richard Feldman
4aa83629e4
Reproduce lambda return type constraints bug 2025-08-15 12:16:11 -04:00
Richard Feldman
c2235045a3
Merge pull request #8195 from roc-lang/poly-list
Add polymorphic append to list builtin
2025-08-15 11:16:55 -04:00
Richard Feldman
187e72032c
Update tests 2025-08-15 11:04:13 -04:00