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
solang compile a.sol --target solana
contract Test { function test(uint256 a, uint256 b) public returns(uint256) { uint256[] memory c = new uint256[](19); require(((~c[1]) & (~b)) == (~c[1]), ""); uint256 d = 0; return d; } }
Output:
thread 'main' panicked at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/inkwell-0.4.0/src/values/enums.rs:286:13: Found PointerValue(PointerValue { ptr_value: Value { name: "index_access55", address: 0x55643f11e970, is_const: false, is_null: false, is_undef: false, llvm_value: " %index_access55 = getelementptr i8, ptr %data54, i32 ptrtoint (ptr getelementptr (i256, ptr null, i32 1) to i32), !dbg !34", llvm_type: "ptr" } }) but expected the IntValue variant note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
solang version v0.3.3-56-g08dbe495
The text was updated successfully, but these errors were encountered:
No branches or pull requests
solang compile a.sol --target solana
Output:
solang version v0.3.3-56-g08dbe495
The text was updated successfully, but these errors were encountered: