CHC clears indices so that initial is 0 and current is 1

This commit is contained in:
Leonardo Alt
2020-02-12 11:47:58 -03:00
parent 34d64761d9
commit d31a2a8d21
3 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ protected:
/// Resets the variable indices.
void resetVariableIndices(VariableIndices const& _indices);
/// Used when starting a new block.
void clearIndices(ContractDefinition const* _contract, FunctionDefinition const* _function = nullptr);
virtual void clearIndices(ContractDefinition const* _contract, FunctionDefinition const* _function = nullptr);
/// @returns variables that are touched in _node's subtree.