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

unbound named parameters in mapping types #1213

Open
OmarTawfik opened this issue Jan 2, 2025 · 0 comments
Open

unbound named parameters in mapping types #1213

OmarTawfik opened this issue Jan 2, 2025 · 0 comments
Assignees

Comments

@OmarTawfik
Copy link
Contributor

For a mapping type like this:

    mapping(uint256 proposalId => ProposalCore) private _proposals;

The identifier proposalId is not bound to anything, while it should be bound to a new definition, similar to parameter names.

Just skimming through the relevant links below, it seems like its scope is restricted to only the mapping(...), this it cannot be referenced anywhere else for now, but we should double check this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⏳ Todo
Development

No branches or pull requests

2 participants