Merge pull request #1747 from ethereum/fixICEInternalConstructor

Move privateness of constructor into AST itself.
This commit is contained in:
Yoichi Hirai
2017-03-08 17:49:14 +01:00
committed by GitHub
7 changed files with 49 additions and 26 deletions
+1 -1
View File
@@ -637,7 +637,7 @@ void CompilerStack::compileContract(
if (
_compiledContracts.count(&_contract) ||
!_contract.annotation().isFullyImplemented ||
!_contract.annotation().hasPublicConstructor
!_contract.constructorIsPublic()
)
return;
for (auto const* dependency: _contract.annotation().contractDependencies)