Commit graph

1191 commits

Author SHA1 Message Date
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
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
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
2844be4383
move IdentStore to the bottom 2022-04-27 21:03:18 +02:00
Folkert
d09036bb4f
don't have shadowing overwrite our data 2022-04-27 20:59:40 +02:00
Folkert
1372825ebb
refactor 2022-04-27 20:53:00 +02:00
Folkert
08c8968236
use interner in Scope + fix shadowing being reported incorrectly 2022-04-27 20:40:58 +02:00
Folkert
09fbd4a505
fix typo 2022-04-27 20:22:52 +02:00
Folkert
7af2bb343c
remove unused Scope functions 2022-04-27 19:53:30 +02:00
Folkert
34d77cffdb
Merge branch 'refactor-closure-can' into scope-smarter-storage 2022-04-27 19:46:02 +02:00
Folkert
622c6f3248
Merge remote-tracking branch 'origin/trunk' into scope-smarter-storage 2022-04-27 19:45:09 +02:00
Folkert
1de3148cf1
fix problem with record guards 2022-04-27 19:18:26 +02:00
Folkert
c487506ab4
reduce allocations further 2022-04-27 19:11:25 +02:00
Folkert
b265663515
reduce allocations in pattern iteration 2022-04-27 18:44:06 +02:00
Folkert
454aa17586
change where scope is cloned 2022-04-27 18:01:22 +02:00
Folkert
2d0a9c8531
stop scope diffing in when canonicalization 2022-04-27 17:57:42 +02:00
Folkert
984ef53e75
shaving off a couple more lines 2022-04-27 17:29:32 +02:00
Folkert
2973af5f79
get rid of env.closure_name_symbol 2022-04-27 17:11:33 +02:00
Folkert
465fad9da1
refactor it all again 2022-04-27 17:01:18 +02:00
Folkert
6783b66db7
stop using env.closures 2022-04-27 16:44:29 +02:00
Folkert
c28a0af932
refactor: special-case the canonicalization of a Closure def 2022-04-27 16:42:04 +02:00
Folkert
41ee2c3e6a
unwrapping of an Opaque does not count as a binding of the opaque name 2022-04-27 16:38:53 +02:00
Folkert
c65f90b8c5
refactor closure canonicalization 2022-04-27 16:22:00 +02:00
Folkert
7a53534d41
rework how we filter captured symbols, and check for unused symbols 2022-04-27 16:14:15 +02:00
Ayaz
98a3523702
Merge pull request #2961 from rtfeldman/improved-identids
Improved identids
2022-04-27 10:11:06 -04:00
Folkert
d690d3f325
clippy 2022-04-26 20:26:13 +02:00
Folkert
c31b796938
more types! 2022-04-26 20:10:29 +02:00
Folkert
d3ef35d935
rename 2022-04-26 11:33:26 +02:00
Folkert
4164dcc3da
more debug info 2022-04-26 09:14:29 +02:00
Jared Cone
ab2333b0fc
Replaced a few more references to "global tag" with "tag" 2022-04-25 21:52:54 -07:00
Richard Feldman
6da39aa296
Merge pull request #2917 from rtfeldman/move-exhaustiveness-checking
Moves exhaustiveness checking to type solving phase
2022-04-25 20:55:05 -04:00
Ayaz Hafiz
909331c1b1
Bugfix compile error 2022-04-25 19:07:57 -04:00
Ayaz Hafiz
07e69c7860
Style fixes 2022-04-25 19:04:10 -04:00
Ayaz Hafiz
1ff18af8f6
Nothing is static in this world 2022-04-25 19:04:10 -04:00
Ayaz Hafiz
03deec23c3
Constants 2022-04-25 19:04:10 -04:00
Ayaz Hafiz
1de67fe19a
Nested Eq constraint in Exhaustive behind SoA 2022-04-25 19:04:09 -04:00
Ayaz Hafiz
85e3373d8b
Move exhaustiveness checking to type checking 2022-04-25 19:04:09 -04:00
Ayaz Hafiz
356616d834
Move exhaustiveness checking to type solving phase with solve tests 2022-04-25 19:04:08 -04:00
Ayaz Hafiz
43bff0b59d
Turn repl test back on 2022-04-25 19:03:25 -04:00