Skip to content

Limit number of arguments for a function to u16::MAX #686

Open
@flip1995

Description

@flip1995

Kind of funny PR:

This limits the number of arguments that can be used by a function to 65535 = u16::MAX and emits an error if more arguments are used.

I think this is currently hard to implement a test for, since it practically requires macro expansion, but this is something that should be tested in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions