Skip to content

Conversation

john-h-kastner-aws
Copy link
Contributor

Description of changes

Fixes a bug in parsing is expression where ... is principal was a parse error even though principal is a valid entity type.

Issue #, if available

Fix #558

Checklist for requesting a review

The change in this PR is (choose one, and delete the other options):

  • A bug fix or other functionality change requiring a patch to cedar-policy.

I confirm that this PR (choose one, and delete the other options):

  • Updates the "Unreleased" section of the CHANGELOG with a description of my change (required for major/minor version bumps).

I confirm that cedar-spec (choose one, and delete the other options):

  • Does not require updates because my change does not impact the Cedar Dafny model or DRT

Disclaimer

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@john-h-kastner-aws john-h-kastner-aws added the 3.1 Features for 3.1 label Jan 23, 2024
@john-h-kastner-aws john-h-kastner-aws merged commit 1a96112 into main Jan 24, 2024
@john-h-kastner-aws john-h-kastner-aws deleted the fix/jkastner/is_var_name branch February 19, 2024 21:26
shaobo-he-aws added a commit that referenced this pull request May 20, 2025
Signed-off-by: Shaobo He <[email protected]>
Signed-off-by: Emina Torlak <[email protected]>
Co-authored-by: Emina Torlak <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1 Features for 3.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is expression does not parse when the entity type is a variable name
3 participants