mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename var
This commit is contained in:
parent
5160f89c1b
commit
56e7d43384
@ -593,10 +593,10 @@ void CHC::externalFunctionCall(FunctionCall const& _funCall)
|
||||
return;
|
||||
|
||||
auto preCallState = currentStateVariables();
|
||||
bool noStateChanges = kind == FunctionType::Kind::BareStaticCall ||
|
||||
bool usesStaticCall = kind == FunctionType::Kind::BareStaticCall ||
|
||||
function->stateMutability() == StateMutability::Pure ||
|
||||
function->stateMutability() == StateMutability::View;
|
||||
if (!noStateChanges)
|
||||
if (!usesStaticCall)
|
||||
for (auto const* var: m_stateVariables)
|
||||
m_context.variable(*var)->increaseIndex();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user