Skip to content

verify correct number of arguments were passed when invoking a method #309

@Ladicek

Description

@Ladicek

I stumbled once on a case where a computed value was popped from the stack as unused, with no obvious reason. I eventually realized that's because I wanted to pass that value as an argument to a method, but forgot.

It should be straightforward to verify that the number of arguments passed to a method matches the number of parameters. That would prevent the issue I stumbled upon.

Metadata

Metadata

Assignees

Labels

2.xIssue applies to Gizmo 2.x

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions