Skip to content

Fix bracket assignment #21

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
merged 10 commits into from
May 29, 2025
Merged

Fix bracket assignment #21

merged 10 commits into from
May 29, 2025

Conversation

cloutierMat
Copy link

@cloutierMat cloutierMat commented May 29, 2025

Motivation

As raised in LocalStack gh issue localstack/localstack#12621, there was no support in Airspeed for using brackets or variables when performing assignment with #set.

Changes

  • updates the Assignment class to properly parse values within brackets.

  • Expanded on test suite

  • @bentsku also added support for Array.set method

@cloutierMat cloutierMat requested review from simonrw and bentsku May 29, 2025 12:57
@cloutierMat cloutierMat self-assigned this May 29, 2025
Copy link

@simonrw simonrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this issue!

@cloutierMat cloutierMat merged commit d6088d3 into master May 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants