Skip to content

Allow explicit parameter and return lists in function types #403

Open

Description

@djolertrk

Using tuple types to group parameters and returns adds extra type documents, even for an empty parameter list.

Could contains.parameters and contains.returns also accept arrays of type wrappers? Empty lists would simply be []. A tuple-valued parameter would remain one list element, distinct from multiple parameters, and component types could still be referenced by ID.

Raised during review of solidity#16990.

Activity

  1. djolertrk commented on Nov 6, 2026

    @djolertrk
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions