Commit graph

1460 commits

Author SHA1 Message Date
Anton-4
d98db0828b
check if on x86 arch before doing feature detection 2022-08-12 14:07:16 +02:00
Anton-4
72e60bceea
valgrind fix for newer intel processors 2022-08-12 12:06:31 +02:00
Richard Feldman
07eed2c4a6
Merge pull request #3748 from rtfeldman/serde
Add serde serializers/deserializers to roc_std
2022-08-11 17:46:44 -04:00
Folkert de Vries
0798f787c5
Merge pull request #3736 from rtfeldman/i3687
Creation of a record whose type has an optional value is an error
2022-08-11 15:51:41 +02:00
Folkert de Vries
b3487139a9
Merge pull request #3746 from rtfeldman/i2453
Report anonymous functions as "this function" rather than symbol name
2022-08-11 15:38:43 +02:00
Brian Hicks
48de542f2c
remove copy-pasted comment 2022-08-11 05:55:50 -05:00
Folkert
5b10ebeeb7
Merge remote-tracking branch 'origin/trunk' into i2453 2022-08-11 10:44:26 +02:00
Folkert de Vries
b435f72be0
Merge branch 'trunk' into i2147 2022-08-11 10:24:49 +02:00
Folkert de Vries
448c8ced53
Merge pull request #3749 from rtfeldman/i2165
Regression test for #2165
2022-08-11 10:23:45 +02:00
Folkert de Vries
ae0e90c8f3
Merge pull request #3738 from rtfeldman/i3444
Layout generation for recursive lambda sets
2022-08-11 10:22:07 +02:00
Ayaz Hafiz
6dc16521d3
Add illegal case of conditionally creating optional field
Closes #3687
2022-08-10 20:24:20 -07:00
Ayaz Hafiz
0bfbeed843
Use Str instead of U64 2022-08-10 20:24:20 -07:00
Ayaz Hafiz
8ccbceaa48
Update reporting tests 2022-08-10 20:24:20 -07:00
Ayaz Hafiz
a1445c25bd
Update solve test 2022-08-10 20:24:20 -07:00
Ayaz Hafiz
af19df1a0a
Include optional/required mismatch for rigid optionals 2022-08-10 20:24:19 -07:00
Ayaz Hafiz
b3d4c8f09b
Parse explicit optional field types as rigid optionals 2022-08-10 20:24:19 -07:00
Ayaz Hafiz
b69051c90e
Print rigid optional types correctly 2022-08-10 20:24:19 -07:00
Ayaz Hafiz
b311dc4741
Remove stray dbg 2022-08-10 20:24:19 -07:00
Ayaz Hafiz
81bb889e93
Add RigidOptional record field variant 2022-08-10 20:24:18 -07:00
Ayaz Hafiz
d8c18cc898
Ignore argument 2022-08-10 20:23:17 -07:00
Richard Feldman
b911e01136
Merge pull request #3737 from rtfeldman/i3553
Print all argument in tags when their argument lengths mismatch
2022-08-10 22:59:01 -04:00
Richard Feldman
f20c54de01
Merge pull request #3745 from rtfeldman/i2620
Adds regression tests for polymorphic records in the repl
2022-08-10 22:58:15 -04:00
Richard Feldman
3180d16be2
Add some cfg(serde) annotations where needed 2022-08-10 21:16:47 -04:00
Ayaz Hafiz
10288d3430
Fix compile errors 2022-08-10 16:10:32 -07:00
Ayaz Hafiz
7aeb332060
Regression test for #2147
Closes #2147
2022-08-10 16:06:01 -07:00
Ayaz Hafiz
c423e3f5ce
Regression test for #2165
Closes #2165
2022-08-10 16:01:56 -07:00
Brian Hicks
31390c8ba3
implement Serialize/Deserialize for RocList 2022-08-10 17:32:31 -05:00
Ayaz Hafiz
fdb79da5a8
Report anonymous functions as "this function" rather than symbol name
Closes #2453

Thanks for the assist @chris-packett
2022-08-10 15:26:52 -07:00
Ayaz Hafiz
4114e1f14d
Adds regression tests for polymorphic records in the repl
Closes #2620
2022-08-10 15:10:24 -07:00
Brian Hicks
3afe0b1a30
implement Serialize/Deserialize for RocStr 2022-08-10 16:57:00 -05:00
Brian Hicks
3bf5949b32
we'll test ser/de with JSON 2022-08-10 16:56:48 -05:00
Brian Hicks
441b1f7b7d
keep version in sync with Cargo.toml 2022-08-10 16:47:28 -05:00
Brian Hicks
fc4e4fa832
add a serde feature and dependency 2022-08-10 16:47:27 -05:00
Ayaz Hafiz
d8e2ca7b1e
Add test for when conditional polymorphic expr becomes a float
Closes #2884
2022-08-10 13:20:07 -07:00
Brian Hicks
91e8e45523
use fallible (instead of panicking) arg getter 2022-08-10 06:09:49 -05:00
Richard Feldman
0105fa4c4a
Merge pull request #3733 from rtfeldman/expect-fx
Expect fx
2022-08-09 23:03:37 -04:00
Ayaz Hafiz
40c73b4138
Add more names 2022-08-09 18:13:25 -07:00
Ayaz Hafiz
bfd49299e0
Clippy 2022-08-09 17:45:52 -07:00
Ayaz Hafiz
5ebb85481c
Update reporting tests 2022-08-09 17:23:27 -07:00
Ayaz Hafiz
1c31cd22e6
Merge branch 'i3444' of https://github.com/rtfeldman/roc into i3444 2022-08-09 16:52:48 -07:00
Ayaz Hafiz
ee188b8e85
use layout_from_recursive_union to generate lambda set recursive layouts 2022-08-09 16:45:35 -07:00
Ayaz Hafiz
4d5331557c
Add more tests for recursie lambda sets 2022-08-09 16:12:30 -07:00
Ayaz Hafiz
86c6d339c3
Choose merged closure var based on whether it's recursive or not 2022-08-09 16:08:24 -07:00
Ayaz Hafiz
3f1e11f920
Recursive vars in occurs check can happen anywhere in the chain 2022-08-09 16:07:59 -07:00
Ayaz Hafiz
e35a571aef
cargo fmt repl 2022-08-09 16:01:40 -07:00
Ayaz Hafiz
43d26b0a28
Handle recursive loops through pointers in repl 2022-08-09 16:01:16 -07:00
Ayaz Hafiz
f20d1ac59a
Typo 2022-08-09 15:30:28 -07:00
Ayaz Hafiz
021cc6e506
Support non-nullable-unwrapped recursive lambda sets 2022-08-09 15:17:16 -07:00
Ayaz Hafiz
c1a7e7893b
Simplify combine 2022-08-09 15:17:09 -07:00
Ayaz Hafiz
4bfac11624
Remove mono test in favor of gen tests 2022-08-09 14:58:57 -07:00