Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Pushkar Mishra <[email protected]>
  • Loading branch information
Pushkarm029 committed Nov 6, 2024
1 parent 8a5d267 commit d6b03a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@winglang/wingc/src/lsp/completions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ pub fn on_completion(params: lsp_types::CompletionParams) -> CompletionResponse
.pos_args
.iter()
.filter(|a| !types.get_expr_type(a).is_unresolved())
.count() == func.parameters.len() - 1
.count()
== func.parameters.len() - 1
{
completions.extend(get_inner_struct_completions(structy, arg_list_strings));
}
Expand Down

0 comments on commit d6b03a8

Please sign in to comment.