aboutsummaryrefslogtreecommitdiffstats
path: root/NameAndTypeResolver.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-12-17 06:45:24 +0800
committerChristian <c@ethdev.com>2014-12-17 06:49:02 +0800
commit147e77b61fd202cbfd593270cc2639477ea7c61e (patch)
treee45799327589cddf7af99b92cb906da9b7c497ce /NameAndTypeResolver.h
parent5b802b685e794832bf8834183bf6c9604e513bbf (diff)
downloaddexon-solidity-147e77b61fd202cbfd593270cc2639477ea7c61e.tar.gz
dexon-solidity-147e77b61fd202cbfd593270cc2639477ea7c61e.tar.zst
dexon-solidity-147e77b61fd202cbfd593270cc2639477ea7c61e.zip
Fix: Resolve function types of all contracts before checking types inside functions.
Diffstat (limited to 'NameAndTypeResolver.h')
-rw-r--r--NameAndTypeResolver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h
index 1ff9febf..23ac5fe7 100644
--- a/NameAndTypeResolver.h
+++ b/NameAndTypeResolver.h
@@ -46,6 +46,8 @@ public:
void registerDeclarations(SourceUnit& _sourceUnit);
/// Resolves all names and types referenced from the given contract.
void resolveNamesAndTypes(ContractDefinition& _contract);
+ /// Check all type requirements in the given contract.
+ void checkTypeRequirements(ContractDefinition& _contract);
/// Updates the given global declaration (used for "this"). Not to be used with declarations
/// that create their own scope.
void updateDeclaration(Declaration const& _declaration);