mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Retain visibility while merging
This commit is contained in:
parent
c4b0103dee
commit
7aa305b487
@ -897,7 +897,8 @@ void SolContract::merge()
|
||||
SolContractFunction::Type::EXPLICITOVERRIDECONTRACT,
|
||||
abstract() ? coinToss() : true,
|
||||
coinToss(),
|
||||
newReturnValue()
|
||||
newReturnValue(),
|
||||
g->visibility()
|
||||
)
|
||||
);
|
||||
// Erase merged interface function
|
||||
@ -940,7 +941,8 @@ void SolContract::merge()
|
||||
SolContractFunction::Type::EXPLICITOVERRIDECONTRACT,
|
||||
abstract() ? coinToss() : true,
|
||||
coinToss(),
|
||||
newReturnValue()
|
||||
newReturnValue(),
|
||||
function->visibility()
|
||||
)
|
||||
);
|
||||
// Erase merged interface function
|
||||
@ -976,7 +978,8 @@ void SolContract::merge()
|
||||
SolContractFunction::Type::EXPLICITOVERRIDECONTRACT,
|
||||
abstract() ? coinToss() : true,
|
||||
coinToss(),
|
||||
newReturnValue()
|
||||
newReturnValue(),
|
||||
function->visibility()
|
||||
)
|
||||
);
|
||||
// Erase merged interface function
|
||||
|
Loading…
Reference in New Issue
Block a user