diff options
author | chriseth <c@ethdev.com> | 2015-12-22 01:44:21 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-12-22 01:44:21 +0800 |
commit | 0e2fa39fadb9ccf45408e047c2b85d62847eb9f2 (patch) | |
tree | b83ec2abf96e42c4729e42e512230f7028541828 /libsolidity/analysis | |
parent | 8fe89455b378acae43898185f6c9c0f67dba967e (diff) | |
download | dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.gz dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.bz2 dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.lz dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.xz dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.tar.zst dexon-solidity-0e2fa39fadb9ccf45408e047c2b85d62847eb9f2.zip |
Use paths instead of simple identifiers wherever possible.
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/NameAndTypeResolver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/NameAndTypeResolver.cpp b/libsolidity/analysis/NameAndTypeResolver.cpp index 92347bfc..96ffdd6e 100644 --- a/libsolidity/analysis/NameAndTypeResolver.cpp +++ b/libsolidity/analysis/NameAndTypeResolver.cpp @@ -264,7 +264,7 @@ void NameAndTypeResolver::linearizeBaseContracts(ContractDefinition& _contract) list<list<ContractDefinition const*>> input(1, {}); for (ASTPointer<InheritanceSpecifier> const& baseSpecifier: _contract.baseContracts()) { - Identifier const& baseName = baseSpecifier->name(); + UserDefinedTypeName const& baseName = baseSpecifier->name(); auto base = dynamic_cast<ContractDefinition const*>(baseName.annotation().referencedDeclaration); if (!base) reportFatalTypeError(baseName.createTypeError("Contract expected.")); |