We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; struct StructTest { uint256 a; mapping(uint256 index => uint256) data; } library TestLibrary { function testFunction(StructTest storage testParameter) external view returns (uint256) { return testParameter.a; } }
solar Version: 0.1.0 Commit SHA: fff9d9f8e652bbfb2405211f544047ab8a221b84 Build Timestamp: 2024-11-08T04:36:07.494153185Z Build Features: asm,default,jemalloc Build Profile: dist
error: types containing mappings cannot be parameter or return types of public functions --> src/Counter.sol:10:27 | 10 | function testFunction(StructTest storage testParameter) external view returns (uint256) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
The following file compiles with solc v0.8.26, but fails with Solar.
The text was updated successfully, but these errors were encountered:
DaniPopes
Successfully merging a pull request may close this issue.
Code
Rust Version
Current error output
Anything else?
The following file compiles with solc v0.8.26, but fails with Solar.
The text was updated successfully, but these errors were encountered: