Folkert de Vries
bb5c260d2e
Merge pull request #2989 from rtfeldman/rust-1-60-v2
...
Rust update to 1.60 v2
2022-05-03 17:35:17 +02:00
Anton-4
c745c08071
fmt+clippy
2022-05-02 18:33:41 +02:00
Jared Cone
47f5b89b26
Fixed formatting
2022-05-02 04:28:32 -07:00
Jared Cone
3263633575
Changed list_take_last to compare list len to arg instead of different to zero.
...
`List.takeLast [1,2] 5` was doing unsigned `2 - 5` which wraps to a large number unsigned. This was fine before `NumGt` was fixed to use unsigned compare for unsigned numbers.
2022-05-02 04:28:32 -07:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
...
Scope bitmask
2022-05-01 12:26:14 -04:00
Folkert
be6006bbab
refactor
2022-04-30 21:22:47 +02:00
Folkert
d3f00c8c6d
use vec![]
2022-04-30 21:21:14 +02:00
Folkert
76754e4d2a
use &str instead of Ident in some key places
2022-04-30 20:43:12 +02:00
Folkert
15f860e6d7
search imports first; they are likely to be small, andl likely to contain used types
2022-04-30 19:58:09 +02:00
Folkert
c3ef37d1bd
refactor
2022-04-30 19:11:51 +02:00
Folkert
ec99d61953
skip generated symbols when looking for an ident
2022-04-30 17:11:46 +02:00
Folkert
45197779ae
re-use idents more aggressively
2022-04-30 15:47:15 +02:00
Folkert
d23a14eae6
fix can tests
2022-04-30 14:04:18 +02:00
Folkert
c1d9c63e37
flip the order of loops to make lookups much faster
2022-04-30 12:27:50 +02:00
Folkert
a78aff0f2f
clippy
2022-04-30 01:54:16 +02:00
Folkert
4ad5e532c1
even more cleanup
2022-04-30 01:35:15 +02:00
Folkert
6fb014baba
more cleanup
2022-04-30 01:25:27 +02:00
Folkert
953369e0d8
cleanup
2022-04-30 00:57:21 +02:00
Folkert
8fe3e24c8b
step 4: new scope with passing reporting tests
2022-04-30 00:51:32 +02:00
Folkert
76a9d25f55
step 3
2022-04-29 21:21:32 +02:00
Folkert
c725c27c1b
step 2
2022-04-29 20:44:42 +02:00
Folkert
9906623e34
scoped locals step 1
2022-04-29 20:28:32 +02:00
Folkert
b8217bf9de
separate imports from local symbols
2022-04-29 18:42:57 +02:00
Ayaz Hafiz
83c6c3a17d
Remove Lowercase from Alias and Opaque
2022-04-29 11:36:31 -04:00
Ayaz Hafiz
c225515a1b
Get rid of variable name on DelayedAlias
2022-04-29 10:55:29 -04:00
Ayaz Hafiz
2e62fba7bc
Delay instantiation of opaque types
2022-04-29 10:44:33 -04:00
Ayaz Hafiz
ca7c9ec5e6
No more lowercase for opaques
2022-04-29 10:41:27 -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
5be9a001e3
Empty records are exhaustive
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
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
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
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
e522df3528
fix can tests
2022-04-27 23:31:37 +02:00