Code generation for calling bound methods.

This commit is contained in:
chriseth
2015-12-01 12:35:34 +01:00
parent e853eb22fa
commit 7f415da886
3 changed files with 161 additions and 4 deletions
+4
View File
@@ -1514,6 +1514,10 @@ bool FunctionType::operator==(Type const& _other) const
//@todo this is ugly, but cannot be prevented right now
if (m_gasSet != other.m_gasSet || m_valueSet != other.m_valueSet)
return false;
if (bound() != other.bound())
return false;
if (bound() && *selfType() != *other.selfType())
return false;
return true;
}