aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2016-01-16 01:11:05 +0800
committerLiana Husikyan <liana@ethdev.com>2016-01-16 01:11:05 +0800
commit9613a94153c834432688577e9cfdb2328eeae691 (patch)
tree8eff8f84d9c330689cb83e055056c0ccbee03e7c /libsolidity/analysis
parent7e511f93af9a01586d5dcbb671e8768c9bed3de9 (diff)
downloaddexon-solidity-9613a94153c834432688577e9cfdb2328eeae691.tar.gz
dexon-solidity-9613a94153c834432688577e9cfdb2328eeae691.tar.zst
dexon-solidity-9613a94153c834432688577e9cfdb2328eeae691.zip
Update TypeChecker.cpp
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r--libsolidity/analysis/TypeChecker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index e9e76d27..69357043 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -292,6 +292,7 @@ void TypeChecker::checkContractExternalTypeClashes(ContractDefinition const& _co
if (f->isPartOfExternalInterface())
{
auto functionType = make_shared<FunctionType>(*f);
+ // under non error circumstances this should be true
if (functionType->interfaceFunctionType())
externalDeclarations[functionType->externalSignature()].push_back(
make_pair(f, functionType)
@@ -301,6 +302,7 @@ void TypeChecker::checkContractExternalTypeClashes(ContractDefinition const& _co
if (v->isPartOfExternalInterface())
{
auto functionType = make_shared<FunctionType>(*v);
+ // under non error circumstances this should be true
if (functionType->interfaceFunctionType())
externalDeclarations[functionType->externalSignature()].push_back(
make_pair(v, functionType)