Merge pull request #1747 from ethereum/fixICEInternalConstructor

Move privateness of constructor into AST itself.
This commit is contained in:
Yoichi Hirai authored and GitHub committed 2017-03-08 17:49:14 +01:00
commit e364909e06
7 files changed
+49 -26

No files matched your search

+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)