diff --git a/libs/remix-debug/src/solidity-decoder/internalCallTree.ts b/libs/remix-debug/src/solidity-decoder/internalCallTree.ts index 673de776a0..ad0e1638f4 100644 --- a/libs/remix-debug/src/solidity-decoder/internalCallTree.ts +++ b/libs/remix-debug/src/solidity-decoder/internalCallTree.ts @@ -316,7 +316,7 @@ async function buildTree (tree, step, scopeId, isCreation, functionDefinition?, tree.scopeStarts[step] = newScopeId tree.scopes[newScopeId] = { firstStep: step, locals: {}, isCreation, gasCost: 0 } // for the ctor we we are at the start of its trace, we have to replay this step in order to catch all the locals: - let nextStep = constructorExecutionStarts ? step : step + 1 + const nextStep = constructorExecutionStarts ? step : step + 1 if (constructorExecutionStarts) { tree.constructorsStartExecution[tree.pendingConstructorId] = tree.pendingConstructorExecutionAt tree.pendingConstructorExecutionAt = -1