core: fix bug in fold_assign_pattern

This commit is contained in:
lyken 2024-08-04 15:53:27 +08:00
parent cb3d3c195f
commit 070655669b
No known key found for this signature in database
GPG Key ID: 3BD5FC6AC8325DD8
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}, },
)) ))