Start working on separating pairs from 2 tuples in Aiken
co-authored-by: KtorZ <matthias.benkort@gmail.com>
This commit is contained in:
@@ -145,6 +145,13 @@ impl Reference {
|
||||
elems = Self::from_types(elems, type_parameters)
|
||||
),
|
||||
},
|
||||
Type::Pair { fst, snd } => Self {
|
||||
inner: format!(
|
||||
"Pair{fst}{snd}",
|
||||
fst = Self::from_type(fst, type_parameters),
|
||||
snd = Self::from_type(snd, type_parameters)
|
||||
),
|
||||
},
|
||||
|
||||
// NOTE:
|
||||
//
|
||||
|
||||
@@ -384,6 +384,7 @@ impl Annotated<Schema> {
|
||||
}
|
||||
},
|
||||
Type::Fn { .. } => unreachable!(),
|
||||
Type::Pair { .. } => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user