mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactor type system to allow multiple entry points.
This commit is contained in:
@@ -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&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user