Brian Carroll
fdc0851883
wasm: fix Str.fromUtf8Range
2022-07-04 11:52:18 +01:00
Brian Carroll
e1d8d09472
builtins: move the output argument of Zig fromUtf8RangeC to first position
2022-07-04 11:24:39 +01:00
Brian Carroll
60d29c2e25
builtins: Move return pointer to first position for fromUtf8C
2022-07-04 11:24:39 +01:00
Brian Carroll
a342f02824
wasm: fix Str.fromUtf8
2022-07-04 11:24:38 +01:00
Brian Carroll
02ec30425c
wasm: Implement Str.split
2022-07-04 11:24:38 +01:00
Richard Feldman
d2dbb0001a
Merge pull request #3393 from rtfeldman/mfonism/docs-ui/create-borders-around-module-entries
...
Docs UI: Create borders around module entries
2022-07-03 20:30:38 -04:00
Mfon Eti-mfon
eee30fb58c
docs-ui: Add border to and style wrapping section
2022-07-04 00:17:34 +01:00
Folkert de Vries
4ab3afd8c8
Merge pull request #3388 from rtfeldman/remove_tag_name
...
Remove `tag_name` from mono IR AST
2022-07-04 00:28:09 +02:00
Mfon Eti-mfon
873142b473
docs-ui: Wrap module entry defs in section elements
2022-07-03 23:04:57 +01:00
Ayaz Hafiz
ba1a3fa62e
Remove unnecessary import
2022-07-03 16:49:09 -04:00
Ayaz Hafiz
2726a3506f
Remove tag_name from Expr::Tag
2022-07-03 16:48:51 -04:00
Ayaz
04046cef39
Merge pull request #3387 from rtfeldman/goldens
...
Use `insta` snapshot tests for all reporting tests
2022-07-03 16:48:05 -04:00
Ayaz Hafiz
2d169bf518
Remove tag_name from ResetReuse
2022-07-03 16:47:01 -04:00
ayazhafiz
b490a1fdf8
Replace other test_reporting tests with snapshots
2022-07-03 14:19:57 -04:00
ayazhafiz
375b3e064a
Use insta snapshot tests in reporting tests
2022-07-03 12:58:27 -04:00
ayazhafiz
671a19b29d
Fix mono
2022-07-03 10:39:55 -04:00
ayazhafiz
71e3e0baff
Add dedup niche test golden
2022-07-03 10:37:40 -04:00
ayazhafiz
3385c708c6
Deduplicate capture niches
2022-07-03 10:37:40 -04:00
ayazhafiz
91050d9989
Add solve test for same layout different niche
2022-07-03 10:37:40 -04:00
ayazhafiz
ae410fbf5d
Fix mono tests
2022-07-03 10:37:39 -04:00
Ayaz
6c9b10af4e
Update wasm layout sizes
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
a3ffc12569
Revert unneeded changes
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
cb2f85ed95
Fix some typos
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
74a55664dd
Remove some unneeded changes
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
8855f269ba
Make captures niche more private
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
71d612078a
no_niche to represent lack of captures niche
2022-07-03 10:37:36 -04:00
Ayaz Hafiz
a5ea4f8c11
Remove references to multimorphic names
2022-07-03 10:37:35 -04:00
Ayaz Hafiz
641bd95d04
Make sure accessor closures get the name of their assigned def, if any
2022-07-03 10:37:35 -04:00
Ayaz Hafiz
276db791bd
Update capture niche tests
2022-07-03 10:37:35 -04:00
Ayaz Hafiz
d08aecf55f
Rename multimorphic tests to capture niche
2022-07-03 10:37:34 -04:00
Ayaz Hafiz
019ebd93f7
Put the capture niche in the lambda name instead of generating new names
2022-07-03 10:37:29 -04:00
ayazhafiz
1ed2e1a8e9
Improve test
2022-07-03 10:37:28 -04:00
ayazhafiz
ffa2ba1043
Fix solve tes
2022-07-03 10:37:28 -04:00
Ayaz Hafiz
98b310a604
Fix wasm test gen
2022-07-03 10:37:28 -04:00
Ayaz Hafiz
fe318488e2
Add more multimorphic gen tests
2022-07-03 10:37:28 -04:00
Ayaz Hafiz
28c1cf46a3
Multimorphic lambdas capture another lambda
2022-07-03 10:37:28 -04:00
Ayaz Hafiz
b69d538ea0
Add mono test cases
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
806e2f5096
Make sure to properly preserve lambda set ordering
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
1903ce4db9
Remove LambdaName::from_non_multimorphic
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
9714376b64
Use one method for mutex
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
eb400590cc
Clippy
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
d63eb23664
Fix compile errors
2022-07-03 10:37:27 -04:00
Ayaz Hafiz
ada4b0ea43
Add test gen for multimorphic capture
2022-07-03 10:37:26 -04:00
Ayaz Hafiz
8be230695b
Get multimorphic lambda captures working
2022-07-03 10:37:26 -04:00
Ayaz Hafiz
88618c098d
Unify lambda sets with left/right closure capture differences
2022-07-03 10:37:26 -04:00
Ayaz Hafiz
5f8b509cb3
Fixup compile errors
2022-07-03 10:37:26 -04:00
Ayaz Hafiz
51978e08ed
First pass at supporting multimorphic lambdas in lambda sets
2022-07-03 10:37:26 -04:00
ayazhafiz
1c40ad6127
Check if function doesn't need closure arg without associated method
2022-07-03 10:37:25 -04:00
Ayaz Hafiz
ca87faa906
Allow union lambdas to have duplicates
2022-07-03 10:37:25 -04:00
Ayaz Hafiz
8fb9ccccfe
Allow captures to be marked as unified without having to be merged
...
It's very possible to unify two variables without their actual variable
numbers having been merged in the unification forest. We might want to
do that in the future, but it's not necessarily true today. For example
two concrete constructors `{}` and `{}` are unified by their contents,
but the variables are not necessarily merged afterward.
2022-07-03 10:37:25 -04:00