Commit Graph

27058 Commits

Author SHA1 Message Date
Brendan Hansknecht
b8e644a1e3
add DbgFormatter to inspect 2023-11-28 16:40:40 -08:00
Richard Feldman
768b55b8c5
Add some Inspect.inspect tests, fix a bug 2023-11-28 16:40:40 -08:00
Richard Feldman
443f6593c5
Add Inspect.Inspect to subs and auto-derive 2023-11-28 16:40:40 -08:00
Ayaz Hafiz
d36eba98fc
Add a few more opaque tests
`specialize/inspect/opaque_derived` does not yet pass.
2023-11-28 16:40:39 -08:00
Ayaz Hafiz
5c805ce80f
Get first inspect for non-Inspect-implementing opaques specialized 2023-11-28 16:40:39 -08:00
Ayaz Hafiz
c87e3e7413
TODO 2023-11-28 16:40:39 -08:00
Richard Feldman
34148645ae
wip 2023-11-28 16:40:39 -08:00
Richard Feldman
00c27b087b
Add Inspect to builtin_module_with_unlisted_ability_impl 2023-11-28 16:40:39 -08:00
Richard Feldman
d0841fb018
Add derive key for Inspect 2023-11-28 16:40:39 -08:00
Richard Feldman
fb9e0fc777
Add Inspect to obligation checker 2023-11-28 16:40:39 -08:00
Richard Feldman
5a872a1bdd
Add Nat to Inspect ability 2023-11-28 16:40:39 -08:00
Richard Feldman
eeab701df3
Merge pull request #6110 from roc-lang/update-sponsors
Update sponsors
2023-11-28 19:36:32 -05:00
Richard Feldman
66d41af6a9
Update sponsors 2023-11-28 13:25:00 -05:00
Richard Feldman
2474d9c031
Merge pull request #6092 from roc-lang/smarter-ci-runs
Smarter ci manager
2023-11-28 13:21:41 -05:00
Anton-4
29f3ff002a
back to normal 2023-11-28 18:07:15 +01:00
Anton-4
771e573aa0
test hello world breaking change 2023-11-28 17:56:01 +01:00
Anton-4
89ac46af9a
test css change 2023-11-28 17:51:34 +01:00
Anton-4
abf4d1bf81
set up all workflows 2023-11-28 16:48:52 +01:00
Anton-4
0bdda5d49e
misc changes 2023-11-28 16:26:13 +01:00
Anton-4
10897abd78
Merge pull request #6105 from caryoscelus/app-provides-error-reporting
Report lacking `to` while parsing app header
2023-11-28 12:35:42 +01:00
Anton-4
ba1a1e9243
minor wording change
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-28 11:42:52 +01:00
Anton-4
73597778b9
minor wording change
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-28 11:41:54 +01:00
Folkert de Vries
b2a459e0be
Merge pull request #6093 from roc-lang/switch-callee-register
Switch callee register
2023-11-28 11:12:51 +01:00
Brian Carroll
6a35d4b519
Merge pull request #6108 from roc-lang/list-map-argument-swap
fix dropping the wrong argument for List.map when it captures
2023-11-28 07:26:31 +00:00
caryoscelus
2fc8e88cca
Report lacking platform name in app header 2023-11-28 05:52:43 +00:00
caryoscelus
3332503f1d
Test reporting lack of to in app header 2023-11-28 02:18:50 +00:00
caryoscelus
d141237a17
Report lacking to while parsing app header 2023-11-28 02:18:24 +00:00
Ayaz
7fdb593cda
Merge pull request #6099 from mulias/desugar-patterns
Desugar patterns
2023-11-27 16:09:49 -06:00
Folkert
32221a2e99
fix dropping the wrong argument for List.map when it captures 2023-11-27 23:02:44 +01:00
Anton-4
d5511a57e1
Merge pull request #6102 from roc-lang/fix-sccache-install
fix sccache install
2023-11-27 13:00:04 +01:00
Anton-4
176ea22965
fix sccache install
https://github.com/mozilla/sccache/issues/1988

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-27 11:43:00 +01:00
Elias Mulhall
0ccc71389a
move pattern desugar tests to test_mono 2023-11-26 20:26:43 -05:00
Elias Mulhall
d924125e6d
remove unnecessary comment 2023-11-26 20:26:42 -05:00
Elias Mulhall
439ce1143c
desugar patterns during canonicalization
Traverse pattern ASTs and desugar two cases

- Desugar optional record field default value expr. This expr might
  contain nodes that need to be desugared, such as binary operations.
  Failing to desugar this expr can cause an internal panic later in
  canonicalization.

- Discard SpaceBefore and SpaceAfter nodes so that patterns can be
  destructured over multiple lines. Keeping these nodes can cause an
  internal panic later in canonicalization. Fixes [1].

[1]: https://github.com/roc-lang/roc/issues/5653.
2023-11-26 20:26:42 -05:00
Elias Mulhall
0a48962abe
replace unreachable! with internal_error! in expr canonicalization
See https://github.com/roc-lang/roc/issues/2046
2023-11-26 20:26:34 -05:00
Richard Feldman
69b72866db
Merge pull request #6036 from roc-lang/plan
Add /plans
2023-11-25 19:51:21 -05:00
Folkert
104c44a754
ensure that when a switch case uses a callee-saved register, that register gets stored/restored properly 2023-11-25 20:18:37 +01:00
Anton-4
00d04644c5
try to fix cancel 2023-11-25 20:14:14 +01:00
Anton-4
b639afdb86
more debugging 2023-11-25 20:09:51 +01:00
Anton-4
f6fd3e4e1f
debugging skip reason 2023-11-25 20:07:06 +01:00
Anton-4
c55c785833
fix job outputs 2023-11-25 20:03:14 +01:00
Folkert
85afcdd011
add clarifying comment to callee_saved 2023-11-25 19:54:51 +01:00
Richard Feldman
62964f68cf
Add ohne-makler link to #sponsors
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2023-11-25 13:54:24 -05:00
Anton-4
94f9953a1e
forgot outputs 2023-11-25 19:52:09 +01:00
Anton-4
fd395f5cbb
need fetch first 2023-11-25 19:50:05 +01:00
Anton-4
b606e497d7
fix git diff 2023-11-25 19:48:59 +01:00
Anton-4
e5623a6a55
fix deprecation 2023-11-25 19:47:16 +01:00
Anton-4
1f6b3fb39f
smarter ci manager prototype 2023-11-25 19:22:14 +01:00
Anton-4
e337d3648a
Merge pull request #6091 from jakub-c/docs-add-border-to-nav
Add CSS border to module functions in docs nav
2023-11-25 18:39:59 +01:00
Jakub
7b08bf9486
Add CSS border to module functions in docs nav
Make side nav in docs more readable

Signed-off-by: Jakub <nawias@gmail.com>
2023-11-25 15:49:47 +01:00