mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix encoding of library return values.
This commit is contained in:
parent
8058cad772
commit
5c453acbe8
@ -851,7 +851,7 @@ string IRGenerator::dispatchRoutine(ContractDefinition const& _contract)
|
||||
solAssert(false, "Unexpected declaration for function!");
|
||||
|
||||
templ["allocate"] = m_utils.allocationFunction();
|
||||
templ["abiEncode"] = abiFunctions.tupleEncoder(type->returnParameterTypes(), type->returnParameterTypes(), false);
|
||||
templ["abiEncode"] = abiFunctions.tupleEncoder(type->returnParameterTypes(), type->returnParameterTypes(), _contract.isLibrary());
|
||||
}
|
||||
t("cases", functions);
|
||||
if (FunctionDefinition const* etherReceiver = _contract.receiveFunction())
|
||||
|
Loading…
Reference in New Issue
Block a user