mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update libsolidity/codegen/ir/IRGeneratorForStatements.cpp
Co-authored-by: Hari <webmail.hari@gmail.com>
This commit is contained in:
parent
3efe100179
commit
63210e5a68
@ -1948,7 +1948,7 @@ void IRGeneratorForStatements::endVisit(MemberAccess const& _memberAccess)
|
|||||||
StructType const* structType = dynamic_cast<StructType const*>(arg);
|
StructType const* structType = dynamic_cast<StructType const*>(arg);
|
||||||
solAssert(!structType);
|
solAssert(!structType);
|
||||||
StructDefinition const& struct_ = structType->structDefinition();
|
StructDefinition const& struct_ = structType->structDefinition();
|
||||||
define(_memberAccess) << "0x" << toHex(struct_.typehash()) << "\n";
|
define(_memberAccess) << "0x" << struct_.typehash() << "\n";
|
||||||
}
|
}
|
||||||
else if (member == "min" || member == "max")
|
else if (member == "min" || member == "max")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user