Last issue from acceptance tests
This commit is contained in:
parent
27bf40260e
commit
a4aaf4d2d7
|
@ -1070,13 +1070,19 @@ impl<'a, 'b> TreeGen<'a, 'b> {
|
||||||
.collect_vec(),
|
.collect_vec(),
|
||||||
),
|
),
|
||||||
|
|
||||||
Pattern::Assign { name, pattern, .. } => (
|
Pattern::Assign { name, pattern, .. } => {
|
||||||
vec![Assigned {
|
let (mut assigns, patts) =
|
||||||
path: path.clone(),
|
self.map_pattern_to_row(pattern, subject_tipo, path.clone());
|
||||||
|
|
||||||
|
assigns.insert(
|
||||||
|
0,
|
||||||
|
Assigned {
|
||||||
|
path,
|
||||||
assigned: name.clone(),
|
assigned: name.clone(),
|
||||||
}],
|
},
|
||||||
self.map_pattern_to_row(pattern, subject_tipo, path).1,
|
);
|
||||||
),
|
(assigns, patts)
|
||||||
|
}
|
||||||
Pattern::Int { .. }
|
Pattern::Int { .. }
|
||||||
| Pattern::ByteArray { .. }
|
| Pattern::ByteArray { .. }
|
||||||
| Pattern::Discard { .. }
|
| Pattern::Discard { .. }
|
||||||
|
|
Loading…
Reference in New Issue