-
Notifications
You must be signed in to change notification settings - Fork 481
Support final local variables in where-blocks (#138) #2370
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
Merged
leonard84
merged 18 commits into
spockframework:master
from
leonard84:where-block-variables
Jun 13, 2026
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
88fbb2a
Detect and validate leading final where-block variables (#138)
leonard84 f6d19c3
Evaluate where-block variables once and pass them to data providers (…
leonard84 1923a19
Pass where-block variables to the data processor for derived variable…
leonard84 7931bda
Guard where-block variable name collisions and lock in scoping (#138)
leonard84 f8fa4c7
Document where-block local variables (#138)
leonard84 33ad1b4
Verify where-block variables with combined providers; fix StoreSpec f…
leonard84 be0905e
Add AST snapshot test for where-block variables (#138)
leonard84 259d651
Add comprehensive AST snapshot combining where-block variables with t…
leonard84 f9e58da
Reject user variable names using the reserved $spock_ prefix (#138)
leonard84 de193fe
Improve test
leonard84 aae8a42
Allow filter-blocks to reference where-block variables (#138)
leonard84 1d5dcf3
Support multiple-assignment where-block variables (#138)
leonard84 101daff
Auto-close AutoCloseable where-block variables (#138)
leonard84 df34b4d
Address review feedback for where-block variables (#138)
leonard84 30b408d
Require a data variable when where-block variables are declared (#138)
leonard84 806a30b
Fix parallel-execution race in WhereBlockVariables close assertions (…
leonard84 a74e133
Address second-round review feedback for where-block variables (#138)
leonard84 4766fef
Close already-created where-block variables when an initializer fails…
leonard84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.