Skip to content

Commit

Permalink
remove inlay hints for kwargs
Browse files Browse the repository at this point in the history
Signed-off-by: shruti2522 <[email protected]>
  • Loading branch information
shruti2522 committed Jul 4, 2024
1 parent 5df763d commit 31bf1c4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kclvm/sema/src/advanced_resolver/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1279,10 +1279,7 @@ impl<'ctx> AdvancedResolver<'ctx> {
.borrow()
.get(&self.ctx.get_node_key(&kw.id))
.map(|ty| ty.clone());
if with_hint {
value.hint = Some(SymbolHint::VarHint(kw_name.clone()));
params.retain(|param| param.name != kw_name);
}
params.retain(|param| param.name != kw_name);
value.sema_info = SymbolSemanticInfo { ty, doc: None };
}
}
Expand Down

0 comments on commit 31bf1c4

Please sign in to comment.