yann300 4 years ago committed by GitHub
parent 42ecc53167
commit d886b0fb53
  1. 3
      libs/remix-debug/src/solidity-decoder/internalCallTree.ts

@ -108,7 +108,8 @@ export class InternalCallTree {
}
parentScope (scopeId) {
return scopeId.replace(/(.\d|\d)$/, '')
if (scopeId.indexOf('.') === -1) return ''
return scopeId.replace(/(\.\d+)$/, '')
}
findScopeId (vmtraceIndex) {

Loading…
Cancel
Save