Commit graph

14920 commits

Author SHA1 Message Date
Ayaz Hafiz
e1fe7d7ed8
Comment 2022-04-29 09:09:28 -04:00
Folkert de Vries
4074088a5e
Merge pull request #2971 from rtfeldman/no-mono-exhaustiveness
No more exhaustiveness checking in mono, nor mono errors
2022-04-29 09:18:50 +02:00
ayazhafiz
c6f313c33a Fix test with type errors 2022-04-28 21:13:10 -04:00
ayazhafiz
dad10af0f9 Make sure to stacksave on x86 2022-04-28 21:07:17 -04:00
Ayaz
1d35cdde8a
Merge pull request #2973 from rtfeldman/scope-touchups
Scope touchups
2022-04-28 20:44:03 -04:00
ayazhafiz
07781dd95f Disable closure wasm test 2022-04-28 20:37:42 -04:00
ayazhafiz
5be9a001e3 Empty records are exhaustive 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
38fd9e8286 Fix gen-dev tests 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
afe49cf570 Cleanup 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
5f8834d6b4 I dont got no references 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
89757dc31f Remove MonoProblem 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
c969c7a15e Remove more exhaustiveness checks in mono 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
12234c36ad Remove unnecessary var introduction 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
2cc47f184f Remove unncessary variable introduction 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
907cbdc3a7 Compile fix 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
1af207325e Simplify again 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
ae0c0fe8fe Simplify 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
9dac9e4bc2 Coalesce 2022-04-28 20:34:03 -04:00
Ayaz Hafiz
bd4f004cea Some marks are always known 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
7ec14ab76f Fix test 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
51c8702820 Smarter marks 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
2f1306afd1 Redundant and exhaustive marks in mono 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
98869b557d Exhaustive and redundant marks 2022-04-28 20:33:48 -04:00
Ayaz
3b64fe59b5
Update compiler/can/src/scope.rs 2022-04-28 20:14:39 -04:00
Folkert de Vries
0dd04787fd
Merge pull request #2972 from rtfeldman/exhaustiveness-bugs
exhaustiveness bug tests
2022-04-28 23:48:51 +02:00
Folkert
42d74199e5
limit cost of inner_scope 2022-04-28 23:43:24 +02:00
Folkert
e243402f9b
rename 2022-04-28 23:28:14 +02:00
Folkert
99340e314c
remove clone of scope.ident_ids 2022-04-28 23:27:46 +02:00
Folkert de Vries
f1dd517d62
Merge pull request #2919 from rtfeldman/scope-smarter-storage
Scope smarter storage + move IdentIds into Scope
2022-04-28 23:26:28 +02:00
Folkert
6dc07c6ea4
add some basic scope tests 2022-04-28 23:23:55 +02:00
Folkert
f17cf9d02b
remove var_store argument 2022-04-28 22:30:27 +02:00
Ayaz Hafiz
3bffdb6037
Add test for 2900
Closes #2900
2022-04-28 16:12:08 -04:00
Ayaz Hafiz
9429e50814
Test for 2778
Closes #2778
2022-04-28 16:06:51 -04:00
Ayaz Hafiz
83f9c2a3a0
Trunk test for 2777
Closes #2777
2022-04-28 16:04:24 -04:00
Folkert
572bd66fb7
remove exosed_ident_ids 2022-04-28 21:34:58 +02:00
Folkert
b1fe5659a4
cleanup 2022-04-28 21:19:27 +02:00
Folkert
992575051a
remove identids from Env 2022-04-28 21:11:08 +02:00
Folkert
7fb5b23fb0
move identids into Scope 2022-04-28 21:08:28 +02:00
Folkert
37cb9279f5
prepare for all_ident_ids 2022-04-28 20:42:00 +02:00
Folkert
65e534b2b1
rename 2022-04-28 20:34:55 +02:00
Folkert
5006231e81
remove exposed_ident_ids from Env 2022-04-28 20:31:27 +02:00
Folkert
fb9d60226d
store `exposed_ident_ids in the scope itself 2022-04-28 20:30:02 +02:00
Folkert
5a613db7b6
use snapshots for inner scopes 2022-04-28 20:01:01 +02:00
Folkert
70844b1218
add snapshot functionality 2022-04-28 19:49:44 +02:00
Folkert
38bb5a189e
fix load test 2022-04-28 19:41:21 +02:00
Folkert de Vries
46c2da0397
Merge pull request #2969 from rtfeldman/mono-fix
mono test output update
2022-04-28 18:45:59 +02:00
Ayaz Hafiz
94f1e399e3
Fix codegen for non-aarch64 2022-04-28 11:10:01 -04:00
Ayaz Hafiz
48df3ecfbe
Pedants 2022-04-28 10:25:55 -04:00
Ayaz Hafiz
9b589b69d9
Revert "Mark setjmp/longjmp as explicitly linked"
This reverts commit f19701293c.
2022-04-28 09:13:54 -04:00
Ayaz Hafiz
0bc85ad32c
Only load setjmp/longjmp from Zig on aarch64 2022-04-28 09:13:29 -04:00