Skip to content

Mark arguments as positional #9

@dustbyte

Description

@dustbyte

Allow to mark arguments to be marked as positional.

In this case, the order of declaration of fields in the structure is significant and leftovers produce and error.
Another rule is that only the last positional field can be of slice type, in this case it stores every positional argument provided.

Tag spec: klash-positional:"true"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions