Commit f1c93833 authored by Iuri Matias's avatar Iuri Matias

refactor getStackAt

parent 0e2a5964
...@@ -270,6 +270,12 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc ...@@ -270,6 +270,12 @@ function includeVariableDeclaration (tree, step, sourceLocation, scopeId, newLoc
break break
} }
} }
// input params
if (inputs) {
functionDefinitionAndInputs.inputs = addParams(inputs, tree, scopeId, states, contractName, previousSourceLocation, stack.length, inputs.children.length, -1)
}
// output params
if (outputs) addParams(outputs, tree, scopeId, states, contractName, previousSourceLocation, stack.length, 0, 1)
} }
// input params // input params
if (inputs) { if (inputs) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment