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
Version: v0.3.3: Atlantis Description: return temp== 3; causes compilation error
contract C { mapping(string => uint) str; function test_str() public returns (bool) { str["abc"] = 3; string memory s = "abc"; uint temp=str[s]; return temp== 3; } }
solang compile --target solana test.sol solang: llvm/lib/IR/Instructions.cpp:528: void llvm::CallInst::init(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const llvm::Twine&): Assertion `(i >= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType()) && "Calling a function with a bad signature!"' failed. Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version: v0.3.3: Atlantis
Description: return temp== 3; causes compilation error
The text was updated successfully, but these errors were encountered: