Skip to content

Commit

Permalink
fix: 🐛 ident 查找错误
Browse files Browse the repository at this point in the history
  • Loading branch information
stormslowly committed Feb 1, 2024
1 parent 6dccd38 commit 4996ca2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl TreeShakeModule {
}
}

if ambiguous_named.len() == 1 {
if local_ident.is_none() && ambiguous_named.len() == 1 {
return ambiguous_named.pop();
}

Expand Down

0 comments on commit 4996ca2

Please sign in to comment.