mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix import directive visits in type checker and view pure checker.
This commit is contained in:
committed by
chriseth
parent
3f6beaa0ad
commit
0f1a63c3fa
@@ -115,6 +115,12 @@ void SMTEncoder::endVisit(ContractDefinition const& _contract)
|
||||
m_context.popSolver();
|
||||
}
|
||||
|
||||
bool SMTEncoder::visit(ImportDirective const&)
|
||||
{
|
||||
// do not visit because the identifier therein will confuse us.
|
||||
return false;
|
||||
}
|
||||
|
||||
void SMTEncoder::endVisit(VariableDeclaration const& _varDecl)
|
||||
{
|
||||
// State variables are handled by the constructor.
|
||||
|
||||
Reference in New Issue
Block a user