mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
We only care about member types.
This commit is contained in:
@@ -469,7 +469,7 @@ void MemberAccess::checkTypeRequirements()
|
||||
unsigned memberIndex = type.memberNameToIndex(*m_memberName);
|
||||
if (memberIndex >= type.getMemberCount())
|
||||
BOOST_THROW_EXCEPTION(createTypeError("Member \"" + *m_memberName + "\" not found in " + type.toString()));
|
||||
m_type = type.getMemberByIndex(memberIndex).getType();
|
||||
m_type = type.getMemberByIndex(memberIndex);
|
||||
m_isLvalue = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user