Refactor type system to allow multiple entry points.

This commit is contained in:
chriseth
2017-02-14 13:23:44 +01:00
parent fc8e50f688
commit c87bafd2ed
4 changed files with 27 additions and 15 deletions
+2 -2
View File
@@ -32,11 +32,11 @@ using namespace dev;
using namespace dev::solidity;
bool TypeChecker::checkTypeRequirements(ContractDefinition const& _contract)
bool TypeChecker::checkTypeRequirements(ASTNode const& _contract)
{
try
{
visit(_contract);
_contract.accept(*this);
}
catch (FatalError const&)
{