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

[ICE]: Big array with public causes a compilation error. #1758

Open
Subway2023 opened this issue Mar 10, 2025 · 0 comments
Open

[ICE]: Big array with public causes a compilation error. #1758

Subway2023 opened this issue Mar 10, 2025 · 0 comments

Comments

@Subway2023
Copy link

Version: v0.3.3: v0.3.3-70-g32a45ea1
Description: If you remove 'public', Solang can compile normally. If you replace 2**100 with value within 2**32, Solang can also compile normally. The error location in the source code can be found at the link.

contract C {
    mapping(uint => uint[2**100]) public x;
}
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

No branches or pull requests

1 participant