Commit graph

4827 commits

Author SHA1 Message Date
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
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
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
Ayaz Hafiz
7c4cfba4b8
Rephrase solve comments as per Folkert's review 2023-01-13 12:58:11 -06: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
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
Ayaz Hafiz
a2f04d1fa3
Weaken single quotes 2023-01-12 10:02:21 -06:00
Ayaz Hafiz
b2cdddbdfb
Weaken lists 2023-01-12 10:02:20 -06:00
Ayaz Hafiz
caa3a6c6a8
Weaken strings 2023-01-12 10:01:56 -06:00
Ayaz Hafiz
173d070175
Weaken expects 2023-01-12 10:01:56 -06:00
Ayaz
fdb4fe66ee
Merge pull request #4820 from joshuawarner32/remove-parser-generator
Remove accidentally committed parser generator
2023-01-11 23:14:52 -06:00
Richard Feldman
29f61dcfec
Update some reporting snapshots 2023-01-11 23:59:43 -05:00
Richard Feldman
f959db588c
Show ellipses on single-field record diffs 2023-01-11 23:58:22 -05:00
Richard Feldman
863c39be54
Fix typo in variable name 2023-01-11 23:54:20 -05:00
Richard Feldman
f3a65e5799
Fix single-line record type formatting 2023-01-11 23:54:05 -05:00
Richard Feldman
d47a4e24d3
Initialize counter to 0, not 1 2023-01-11 23:53:27 -05:00
Richard Feldman
4f44209bb8
Fix some tests 2023-01-11 23:18:54 -05:00
Richard Feldman
92f94a00b4
Render ellipses in a different color 2023-01-11 23:18:54 -05:00
Richard Feldman
d9a582e447
Render { … } types on the same line 2023-01-11 23:18:54 -05:00
Richard Feldman
dc8eb81bb2
Omit more unnecessary fields from record diffs 2023-01-11 23:18:53 -05:00
Richard Feldman
148119c6b4
Don't report how many fields were omitted. 2023-01-11 23:18:53 -05:00
Richard Feldman
1787d0c679
Report how many record fields were omitted 2023-01-11 23:18:53 -05:00
Richard Feldman
59208ffc40
Omit record fields from diff if they're identical 2023-01-11 23:18:53 -05:00
Richard Feldman
e7466c9485
Rename traverse to diff_args 2023-01-11 23:18:53 -05:00
Richard Feldman
bc14855c59
Report multi-field record types as multiline 2023-01-11 23:18:52 -05:00
Folkert de Vries
386983a657
Merge pull request #4881 from roc-lang/rename-rank-none
Rename rank none to rank generalized
2023-01-12 00:25:24 +01:00
Ayaz
8bca5840b9
Merge pull request #4880 from roc-lang/weakening-2
Implement weakening of variables introduced in branch patterns
2023-01-11 16:46:54 -06:00
Ayaz
65e3dae68e
Merge pull request #4879 from roc-lang/pattern-as-mono
implement standard as patterns in mono IR
2023-01-11 16:16:16 -06:00
Ayaz Hafiz
d214598a16
Rename rank none to rank generalized 2023-01-11 14:55:18 -06:00