Ayaz Hafiz
3d0a0a4a99
Update more dict/set references
2023-01-14 15:33:54 +01:00
Ayaz Hafiz
ab796d93ff
Format
2023-01-14 15:33:54 +01:00
Ayaz Hafiz
df90baa0fc
Weaken runtime errors
2023-01-14 15:33:53 +01:00
Ayaz Hafiz
e525726be6
Weaken typed holes
2023-01-14 15:33:53 +01:00
Ayaz Hafiz
20b4f290ce
Weaken expect/dbg behind let bindings
2023-01-14 15:33:53 +01:00
Ayaz Hafiz
354765afca
Explain why opaque wrap functions need not be weakened behind lets
2023-01-14 15:33:52 +01:00
Ayaz Hafiz
6dca92e420
Weaken record updates behind let bindings
2023-01-14 15:33:52 +01:00
Ayaz Hafiz
2e36e2f418
Don't weaken accessor functions
...
Accessor functions are equivalent to closures and hence obey function
semantics, no need to weaken them
2023-01-14 15:33:52 +01:00
Ayaz Hafiz
0a9155d9d8
Weaken record accesses
2023-01-14 15:33:51 +01:00
Ayaz Hafiz
b5cce17822
Weaken crash
2023-01-14 15:33:51 +01:00
Ayaz Hafiz
b8712bcb30
Weaken records in let-bindings
...
This change also means we must update the interface of `Dict.empty` and
`Set.empty` from
```
Dict.empty : Dict k v
```
to
```
Dict.empty : {} -> Dict k v
```
2023-01-14 15:33:51 +01:00
Ayaz Hafiz
61ac9bf9b2
Weaken binding empty records
2023-01-14 15:33:50 +01:00
Ayaz Hafiz
64f979a826
Weaken foreign calls
2023-01-14 15:33:50 +01:00
Ayaz Hafiz
b3acbdfdfd
Weaken run-low-level
2023-01-14 15:33:50 +01:00
Ayaz Hafiz
cb1373a3a4
Weaken let-binding calls
2023-01-14 15:33:49 +01:00
Ayaz Hafiz
d27a72de1f
Weaken let sequences under let binding
2023-01-14 15:33:49 +01:00
Ayaz Hafiz
e36f90feec
Weaken recursive let bindings
2023-01-14 15:33:49 +01:00
Folkert de Vries
e3a213c0dc
Merge pull request #4882 from roc-lang/weakening-3
...
Begin weakening let-bindings to non-function, non-number expressions
2023-01-14 15:32:27 +01:00
Folkert
83dc08b3b4
add expected test output
2023-01-14 15:19:25 +01:00
Folkert
2c9e2524c1
Revert "reproduce crash in expect with Lists of different length"
...
This reverts commit 12350410df
.
issue has been resolved by intervening commits
2023-01-14 15:10:30 +01:00
Folkert
148ec3752d
fix bug with record field ordering in repl eval
2023-01-14 15:09:12 +01:00
Folkert
dca1c665ae
fix list elementes being cloned to the wrong place
2023-01-14 14:25:23 +01:00
Folkert
437498b7ac
list decrement must use capacity, not length
2023-01-14 13:14:37 +01:00
Anton-4
554d60d455
Merge pull request #4892 from roc-lang/macos-x86-64-ci
...
added macos x86_64 PR workflow
2023-01-14 12:35:56 +01:00
Brian Carroll
12350410df
reproduce crash in expect with Lists of different length
2023-01-14 08:50:50 +00:00
Joshua Warner
0b8e68f70d
Fix approximately a bajillion fmt and parsing bugs
...
(discovered by fuzzing)
There's more to come, but this seems like a good batch for now.
2023-01-13 18:20:44 -08:00
Folkert de Vries
46d69e8721
Merge pull request #4888 from roc-lang/update-rank-comments
...
Rephrase solve comments as per Folkert's review
2023-01-13 23:26:08 +01:00
Ayaz Hafiz
7c4cfba4b8
Rephrase solve comments as per Folkert's review
2023-01-13 12:58:11 -06:00
Anton-4
af706d0e11
comment out basic-cli hello
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-13 17:56:59 +01:00
Anton-4
98c9403a84
removed job name
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-13 16:32:37 +01:00
Anton-4
145c104a88
fix sccache path
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-13 16:31:41 +01:00
Anton-4
ebdaf767b2
fix name
2023-01-13 16:01:40 +01:00
Anton-4
d323e4e419
fix name+path
2023-01-13 15:51:53 +01:00
Anton-4
13bd33ccb1
added macos x86_64 PR workflow
2023-01-13 15:49:13 +01:00
Richard Feldman
3fda3965ec
Merge pull request #4871 from roc-lang/improve-type-mismatch
...
Improve record type mismatch diffs
2023-01-13 07:03:21 -05:00
Richard Feldman
8ac0d3b493
Fix unused var in release builds
2023-01-13 03:23:42 -05:00
Richard Feldman
76a4414aaf
Merge remote-tracking branch 'origin/main' into improve-type-mismatch
2023-01-12 21:47:39 -05:00
Richard Feldman
0ba0e6f016
Merge pull request #4889 from roc-lang/fix-main
...
Fix missing parameter in to_relevant_branch_help
2023-01-12 18:46:58 -05:00
Ayaz Hafiz
d43387d1be
Fix missing parameter in to_relevant_branch_help
...
main is currently broken because of a non-conflicting diff that landed
before the interner change landed.
2023-01-12 15:43:14 -06:00
Richard Feldman
eaf8ce6c08
Add a debug_assert! about tag union polarity
2023-01-12 16:22:35 -05:00
Richard Feldman
e291e0ee99
Combine some match
branches
2023-01-12 16:21:33 -05:00
Richard Feldman
717350ef9e
FlexAbleVar sets should be equal if the vars are.
2023-01-12 16:20:36 -05:00
Richard Feldman
63161b5330
Remove a debug print
2023-01-12 16:16:50 -05:00
Richard Feldman
41a7304e77
Merge pull request #4854 from roc-lang/intern-layouts-6
...
Intern all the layouts
2023-01-12 15:45:14 -05:00
Ayaz Hafiz
5eda760f1c
Fix bug in loading host-exposed list pointers
2023-01-12 10:20:11 -06:00
Ayaz Hafiz
e43ba9bccf
Fix repl expect test
2023-01-12 10:04:55 -06:00
Ayaz Hafiz
2e41b59af4
Format
2023-01-12 10:02:21 -06:00
Ayaz Hafiz
04cf7e070d
Weaken let-bindings to if expressions
2023-01-12 10:02:21 -06:00
Ayaz Hafiz
39b6a509eb
Fix gen test with list
2023-01-12 10:02:21 -06:00
Ayaz Hafiz
9462f44bb7
Weaken variables bound to when expressions
2023-01-12 10:02:21 -06:00