update pair to handle alias

This commit is contained in:
microproofs
2024-03-13 14:08:10 -04:00
committed by Kasey
parent d05d8e7de6
commit 61a021f9e3
10 changed files with 111 additions and 19 deletions

View File

@@ -145,7 +145,7 @@ impl Reference {
elems = Self::from_types(elems, type_parameters)
),
},
Type::Pair { fst, snd } => Self {
Type::Pair { fst, snd, .. } => Self {
inner: format!(
"Pair{fst}{snd}",
fst = Self::from_type(fst, type_parameters),