Refactor name and type resolution.

This commit is contained in:
chriseth
2020-06-12 12:18:02 +02:00
parent 012ba9537b
commit 07c1167136
7 changed files with 46 additions and 66 deletions
+2 -2
View File
@@ -62,9 +62,9 @@ bool TypeChecker::typeSupportedByOldABIEncoder(Type const& _type, bool _isLibrar
return true;
}
bool TypeChecker::checkTypeRequirements(ASTNode const& _contract)
bool TypeChecker::checkTypeRequirements(SourceUnit const& _source)
{
_contract.accept(*this);
_source.accept(*this);
return Error::containsOnlyWarnings(m_errorReporter.errors());
}