We only care about member types.

This commit is contained in:
Christian
2014-11-23 21:04:39 +01:00
parent 93c98a6e52
commit 735dbe6986
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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;
}