ir: Tweak monomorphization to instantiate recursively after inserting to the replacements map.

That way the check to prevent double-instantiation also works to prevent
infinite recursion.
This commit is contained in:
Emilio Cobos Álvarez
2021-04-07 13:13:26 +02:00
parent 52de917d25
commit a9af0ad5ad
12 changed files with 81 additions and 20 deletions
@@ -0,0 +1,2 @@
pub type TryVec<T> = fallible_collections::TryVec<T>;
pub type TryString = fallible_collections::TryVec<u8>;