core: fix bug in fold_assign_pattern
This commit is contained in:
parent
cb3d3c195f
commit
070655669b
|
@ -1973,7 +1973,7 @@ impl<'a> Inferencer<'a> {
|
||||||
expected_value_ty,
|
expected_value_ty,
|
||||||
Located {
|
Located {
|
||||||
location: pattern.location,
|
location: pattern.location,
|
||||||
node: ExprKind::List { ctx: ExprContext::Store, elts },
|
node: ExprKind::Tuple { ctx: ExprContext::Store, elts },
|
||||||
custom: None,
|
custom: None,
|
||||||
},
|
},
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue