1
0
forked from M-Labs/nac3
nac3/nac3artiq/src
David Mak 77de24ef74 core: Use BTreeMap for type variable mapping
There have been multiple instances where I had the need to iterate over
type variables, only to discover that the traversal order is arbitrary.

This commit fixes that by adding SortedMapping, which utilizes BTreeMap
internally to guarantee a traversal order. All instances of VarMap are
now refactored to use this to ensure that type variables are iterated in
 the order of its variable ID, which should be monotonically incremented
 by the unifier.
2024-03-04 23:56:04 +08:00
..
codegen.rs core: Use BTreeMap for type variable mapping 2024-03-04 23:56:04 +08:00
kernel.ld nac3artiq: add stack guard 2021-11-12 20:03:52 +08:00
lib.rs core: Use BTreeMap for type variable mapping 2024-03-04 23:56:04 +08:00
symbol_resolver.rs core: Use BTreeMap for type variable mapping 2024-03-04 23:56:04 +08:00
timeline.rs core: Update cargo dependencies 2024-02-23 15:41:04 +08:00