aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTAnnotations.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-05 02:46:09 +0800
committerGitHub <noreply@github.com>2017-08-05 02:46:09 +0800
commita372941a442fe1029d212ebf7b097bdea7534fad (patch)
treefe00baa257d974c65545886c266bf7348cd0cbf2 /libsolidity/ast/ASTAnnotations.h
parentf3af014afd1e6e70ab25ea30bff6f272cc73b0a9 (diff)
parent2186401479d0d41b5fb45d7316a479c1c9bfa7ad (diff)
downloaddexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.tar
dexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.tar.gz
dexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.tar.bz2
dexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.tar.lz
dexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.tar.xz
dexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.tar.zst
dexon-solidity-a372941a442fe1029d212ebf7b097bdea7534fad.zip
Merge pull request #2687 from ethereum/show-unimplemented-funcs
Show unimplemented function if trying to instantiate an abstract class
Diffstat (limited to 'libsolidity/ast/ASTAnnotations.h')
-rw-r--r--libsolidity/ast/ASTAnnotations.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index 45a6dd1a..ecddbe21 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -79,8 +79,9 @@ struct TypeDeclarationAnnotation: ASTAnnotation
struct ContractDefinitionAnnotation: TypeDeclarationAnnotation, DocumentedAnnotation
{
- /// Whether all functions are implemented.
- bool isFullyImplemented = true;
+ /// List of functions without a body. Can also contain functions from base classes,
+ /// especially constructors.
+ std::vector<FunctionDefinition const*> unimplementedFunctions;
/// List of all (direct and indirect) base contracts in order from derived to
/// base, including the contract itself.
std::vector<ContractDefinition const*> linearizedBaseContracts;