Commit graph

8872 commits

Author SHA1 Message Date
Ayaz Hafiz
42614d30ed
Add test for instantiating unspecialized lambda sets 2022-06-02 11:24:41 -05:00
Ayaz Hafiz
3cd60e15d0
Add instantiation of unspecialized lambda sets for abilities 2022-06-02 11:01:27 -05:00
Ayaz Hafiz
af38860f07
Add Type::UnspecializedLambdaSet variant 2022-06-02 10:12:44 -05:00
Ayaz Hafiz
873271b02d
Remove unused impl 2022-06-02 09:44:39 -05:00
Ayaz Hafiz
26332901be
Update ident size on wasm 2022-06-02 09:44:39 -05:00
Ayaz Hafiz
32cd3d16d2
Assert sizeof non-wasm 2022-06-02 09:44:38 -05:00
Ayaz Hafiz
7421e444b1
Remove unnecessary SubsFmtContent 2022-06-02 09:44:38 -05:00
Ayaz Hafiz
b0c602eb8d
Clippy 2022-06-02 09:44:38 -05:00
Ayaz Hafiz
bde107da49
Remove TagName in favor of explicit TagName or Closure
Note that we still need a `TagOrClosure` enum for phases past mono, but
at least we get rid of the branches in the front end.
2022-06-02 09:44:34 -05:00
Ayaz Hafiz
5e35609369
Remove mono/src/exhaustive.rs 2022-06-01 17:39:16 -05:00
Ayaz Hafiz
a8453b0fca
Fix macro 2022-06-01 13:27:24 -05:00
Ayaz Hafiz
c827349ae2
Simply choosing of the matching variable 2022-06-01 13:18:56 -05:00
Ayaz Hafiz
2c62f9b5ba
s/occurence/occurrence 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
5b7f4ef5ec
Clippy 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
0fa4aa8cbd
Simplify maybe_mark_union_recursive 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
2f29326e7a
Remove piggyback of tag unions for lambda sets 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
b4bca5423b
Remove promotion to recursion var for lambda sets 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
591528d8a3
Handle case where lambda set is unbound 2022-06-01 13:18:55 -05:00
Ayaz Hafiz
c66f989467
Recursive closure layout working again in effect test 2022-06-01 13:18:54 -05:00
Ayaz Hafiz
2e70c9aba4
Getting closer. Checking in for a break. 2022-06-01 13:18:53 -05:00
Ayaz Hafiz
790eb8e20c
Lambda sets don't need extension vars 2022-06-01 13:18:03 -05:00
Ayaz Hafiz
c2a2ce690c
Lift lambda sets as their own type
This prepares for unspecialized lambda set in the type system in
general.
2022-06-01 13:17:22 -05:00
Ayaz Hafiz
3fc95bad90
Remove unused lambda set struct 2022-06-01 13:14:00 -05:00
Folkert de Vries
80492cbb0a
Merge pull request #3164 from rtfeldman/deep-copy-var-loop
make deep_copy_var non-recursive
2022-06-01 20:00:05 +02:00
Folkert
9540aa5b70
make deep_copy_var non-recursive 2022-06-01 17:59:35 +02:00
Anton-4
4b647fd4b1
Forgot tempfile dependency 2022-06-01 13:40:46 +02:00
Anton-4
cb229dad95
Fix zig caching issue 2022-06-01 13:38:38 +02:00
Sean Hagstrom
d9d708fc94
formatter: fix indentation for multi-line lambdas in pipeline expression 2022-06-01 08:53:13 +01:00
Sean Hagstrom
802cf20637
formatter: remove spaces from regions inside module AST definitions 2022-06-01 08:53:13 +01:00
Anton-4
e1804ff755
Merge branch 'trunk' of github.com:rtfeldman/roc into m1_gh_runner 2022-05-30 19:40:16 +02:00
Anton-4
e4412f73f2
add nix apple M1 workflow 2022-05-30 19:34:04 +02:00
Richard Feldman
c8454d0f9b
Merge pull request #3148 from rtfeldman/bindgen-recursive-union
Bindgen normal recursive unions
2022-05-29 12:19:11 -04:00
Richard Feldman
524ae1e3d8
Use RocType::TagUnionPayload for tag union payloads 2022-05-28 19:17:10 -04:00
Richard Feldman
ea644c3360
Merge pull request #3132 from rtfeldman/parse-def-soa 2022-05-28 01:55:01 -04:00
Folkert
278a370b30
use a loop {} instead of recursion to parse 2022-05-26 18:26:48 +02:00
Richard Feldman
1ef5d785c0
Remove no-longer-necessary ReferenceCount uses in wasm 2022-05-26 11:18:06 -04:00
Folkert
bab81fd941
actually use the new parser 2022-05-26 15:32:04 +02:00
Folkert
fa9ac912a0
parse defs with the new approach 2022-05-26 14:14:39 +02:00
Brian Carroll
44bca1c8c5
clippying & fmt'ing 2022-05-26 00:27:18 +01:00
Brian Carroll
11c1c92cc1
wasm: self-review edits 2022-05-25 23:11:37 +01:00
Brian Carroll
4300ef8b47
wasm: cleanup Section trait 2022-05-25 22:40:46 +01:00
Brian Carroll
da4529ab16
Clippyyy, Clippyyy, Clippyyy, the bush kangaroo... 2022-05-25 22:17:48 +01:00
Brian Carroll
07b83b1999
wasm: delete preload functions 2022-05-25 22:04:59 +01:00
Brian Carroll
adc16e1db1
wasm: convert CodeSection preload to parse 2022-05-25 21:57:04 +01:00
Brian Carroll
6ef445dc3f
wasm: delete ImportSection::append, which can never be called 2022-05-25 21:36:15 +01:00
Brian Carroll
731a227c61
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-parser-trait 2022-05-25 21:15:08 +01:00
Folkert
d174cb72ae
attempts at parsing 2022-05-25 20:30:43 +02:00
Folkert
72518bca9c
fix clippy things 2022-05-25 15:28:14 +02:00
Folkert
8829be30b7
update parse tests 2022-05-25 15:01:56 +02:00
Folkert
d72ebf4b74
formatting for Defs 2022-05-25 14:58:36 +02:00