clear source location cache

pull/3094/head
yann300 7 years ago
parent 83140b8458
commit 9af8bcfa6c
  1. 2
      remix-solidity/package.json
  2. 1
      remix-solidity/src/decoder/internalCallTree.js

@ -1,6 +1,6 @@
{ {
"name": "remix-solidity", "name": "remix-solidity",
"version": "0.1.2", "version": "0.1.3",
"description": "Ethereum IDE and tools for the web", "description": "Ethereum IDE and tools for the web",
"contributors": [ "contributors": [
{ {

@ -61,6 +61,7 @@ class InternalCallTree {
/* /*
scopeStart: represent start of a new scope. Keys are index in the vmtrace, values are scopeId scopeStart: represent start of a new scope. Keys are index in the vmtrace, values are scopeId
*/ */
this.sourceLocationTracker.clearCache()
this.functionCallStack = [] this.functionCallStack = []
this.scopeStarts = {} this.scopeStarts = {}
this.variableDeclarationByFile = {} this.variableDeclarationByFile = {}

Loading…
Cancel
Save