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 Validation for Recursive Types in the Verifier #97

Open
Y-Nak opened this issue Dec 4, 2024 · 0 comments
Open

Support Validation for Recursive Types in the Verifier #97

Y-Nak opened this issue Dec 4, 2024 · 0 comments
Labels

Comments

@Y-Nak
Copy link
Collaborator

Y-Nak commented Dec 4, 2024

We need to implement validation for recursive types in the Verifier. However, recursion through indirection using pointers should be allowed.

Example (indirection recursion that should be allowed):

type public @Node = { *@Node };

In this example, the recursion occurs via the next pointer, which does not require validation.

Example (direct recursion that shouldn't be allowed):

type public @X = { @Y };
type public @Y = { @X };
@Y-Nak Y-Nak added good first issue Good for newcomers verifier labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant