Skip to content

[v2] Variadic function parameters aren't considered in constructors #675

@FenekkuKitsune

Description

@FenekkuKitsune

Is your issue related to a problem? Please describe.
When a variadic function parameter is specified i.e. FuncErr(p_errorValue, p_funcName, p_funcParams*), then called with more parameters than specified i.e. FuncErR(err, Stuff.SetParameterFloat.Name, p_prefix, p_parameter, p_value), AHK++ doesn't consider the variadic state of the last parameter and reports the call as a problem, expecting 0-3 params but got 5.

Describe the solution you'd like
AHK++ should consider variadic parameters and not report calls with incorrect parameter counts as problems.

Metadata

Metadata

Assignees

Labels

AHK v2exclusive to AHK v2

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions