Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General array bounds #167

Open
rooooooooob opened this issue Apr 4, 2023 · 0 comments
Open

General array bounds #167

rooooooooob opened this issue Apr 4, 2023 · 0 comments

Comments

@rooooooooob
Copy link
Collaborator

e.g. general (n to m elements) bounds on arrays:

foo = [n*m uint]

We already have support for the following cases:

  • [* uint] (0 or more i.e. no bounds)
  • [1*1 uint] / [uint] (i.e. fixed 1 element).
  • [? uint] (0 or 1 - optional field) (warning: support might only be in some contexts)

There are also [+ uint] which is 1 or more but would be trivial to do if the general n*m case is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant