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
Compile: solang compile a.sol --target solana
solang compile a.sol --target solana
contract Test { function test() private returns(int) { int[] memory arr = new int[](2); (arr[0], arr[1]) = (3, 4); return arr[0]; } }
Output:
thread 'main' panicked at /home/lum7na/.cargo/registry/src/index.crates.io-6f17d22bba15001f/inkwell-0.4.0/src/values/enums.rs:302:13: Found IntValue(IntValue { int_value: Value { name: "", address: 0x55e046b27de0, is_const: true, is_null: false, is_undef: false, llvm_value: "i256 3", llvm_type: "i256" } }) but expected PointerValue variant note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compile:
solang compile a.sol --target solana
Output:
The text was updated successfully, but these errors were encountered: