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

Support constraints on actions and their parameters in @entry_constraint #99

Open
smolkaj opened this issue Jul 14, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@smolkaj
Copy link
Member

smolkaj commented Jul 14, 2023

Since the action of a table is a sum type, this requires some language mechanism for destructing sum types, e.g. ADT-style pattern matching.

We didn't implement this feature thus far since this is a nontrivial effort.

This is related to but distinct from #98, which is about constraining a single action with a new @action_restriction annotation. #98 is simpler to implement since it doesn't require dealing with sum types.

@smolkaj smolkaj added the enhancement New feature or request label Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant