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

Resolve known mismatch in definitional validator #126

Open
2 tasks
khieta opened this issue Sep 28, 2023 · 0 comments
Open
2 tasks

Resolve known mismatch in definitional validator #126

khieta opened this issue Sep 28, 2023 · 0 comments
Labels
feature-request Request for a new feature

Comments

@khieta
Copy link
Contributor

khieta commented Sep 28, 2023

Category

Dafny formalization

Describe the feature you'd like to request

The cedar-policy validator will always return an error for an unrecognized entity or action, even if that part of the expression should be excluded from typechecking (e.g., true || Undefined::"foo" should be well typed due to short-circuiting). The definitional validator currently does not have this behavior. We should need to decide which behavior we think is correct and then fix either the cedar-policy validator or the definitional validator. We then also need to remove this piece of code that hides this difference during DRT.

Describe alternatives you've considered

No response

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants