Check if constructor is public or not.

This commit is contained in:
chriseth
2017-01-20 19:22:39 +01:00
parent df4ef74199
commit 0ef460461a
3 changed files with 13 additions and 2 deletions
+2
View File
@@ -80,6 +80,8 @@ struct ContractDefinitionAnnotation: TypeDeclarationAnnotation, DocumentedAnnota
{
/// Whether all functions are implemented.
bool isFullyImplemented = true;
/// Whether a public constructor (even the default one) is available.
bool hasPublicConstructor = true;
/// List of all (direct and indirect) base contracts in order from derived to
/// base, including the contract itself.
std::vector<ContractDefinition const*> linearizedBaseContracts;