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

planner: fix with replacement with local-var values #6996

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 5, 2024

  1. planner: fix with replacement with local-var values

    Every function down the call stacks of a with-replacement that does this
    will now get extra variables added to its args to carry along the local
    variables that will eventually be needed to replace the with-mocked func call.
    
    TODOs:
    - [ ] think hard about variable name clashes (do we need a func for this?)
    - [ ] more test cases
    
    Fixes open-policy-agent#5311.
    
    Signed-off-by: Stephan Renatus <[email protected]>
    srenatus committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    1bf12a9 View commit details
    Browse the repository at this point in the history