Skip to content

fix(fmt): 'layout' is not a keyword #10656

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 1 commit into from
May 28, 2025
Merged

fix(fmt): 'layout' is not a keyword #10656

merged 1 commit into from
May 28, 2025

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented May 28, 2025

Same as #10556, but still doesn't allow layout everywhere due to limitations described in previous PRs (only layout = x; is not allowed, but uint layout = x; and everywhere else is).
With this PR, this is the most we can allow of the new not-actually-keyword keywords.

Fixes #10654.

@grandizzy
Copy link
Collaborator

awesome 🙏 , could release a 1.2.2 with fix

@DaniPopes DaniPopes enabled auto-merge (squash) May 28, 2025 16:29
@DaniPopes DaniPopes merged commit 7e68208 into master May 28, 2025
22 checks passed
@DaniPopes DaniPopes deleted the dani/bump-solang22 branch May 28, 2025 16:41
@github-project-automation github-project-automation bot moved this to Done in Foundry May 28, 2025
grandizzy pushed a commit to grandizzy/foundry that referenced this pull request May 30, 2025
grandizzy added a commit that referenced this pull request May 30, 2025
* fix(fmt): 'layout' is not a keyword (#10656)

* chore: bump version to 1.2.2 (#10668)

* ci: use Optimism mainnet instead of DRPC due to limits (#10592)

use Optimism mainnet instead of DRPC due to limits

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

bug(forge doc): fails to parse Solidity code, "unrecognized token 'layout', expected identifier"
2 participants