Skip to content

Commit

Permalink
Update src/index.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Michael <78988079+mhasel@users.noreply.github.com>
  • Loading branch information
volsa and mhasel authored Jun 7, 2024
1 parent 1baf219 commit bb3143c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1199,8 +1199,8 @@ impl Index {
.collect::<Vec<_>>()
}

pub fn has_variadic_parameter(&self, pout_name: &str) -> bool {
self.get_pou_members(pout_name).iter().any(|member| member.is_parameter() && member.is_variadic())
pub fn has_variadic_parameter(&self, pou_name: &str) -> bool {
self.get_pou_members(pou_name).iter().any(|member| member.is_parameter() && member.is_variadic())
}

/// returns some if the current index is a VAR_INPUT, VAR_IN_OUT or VAR_OUTPUT that is not a variadic argument
Expand Down

0 comments on commit bb3143c

Please sign in to comment.