From 9af8bcfa6cbea3543730bed945f1db5264bf595b Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 19 Mar 2018 12:33:29 +0100 Subject: [PATCH] clear source location cache --- remix-solidity/package.json | 2 +- remix-solidity/src/decoder/internalCallTree.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/remix-solidity/package.json b/remix-solidity/package.json index 90adb23947..f62e4cf5bb 100644 --- a/remix-solidity/package.json +++ b/remix-solidity/package.json @@ -1,6 +1,6 @@ { "name": "remix-solidity", - "version": "0.1.2", + "version": "0.1.3", "description": "Ethereum IDE and tools for the web", "contributors": [ { diff --git a/remix-solidity/src/decoder/internalCallTree.js b/remix-solidity/src/decoder/internalCallTree.js index 5cc12a20c3..590a96de07 100644 --- a/remix-solidity/src/decoder/internalCallTree.js +++ b/remix-solidity/src/decoder/internalCallTree.js @@ -61,6 +61,7 @@ class InternalCallTree { /* scopeStart: represent start of a new scope. Keys are index in the vmtrace, values are scopeId */ + this.sourceLocationTracker.clearCache() this.functionCallStack = [] this.scopeStarts = {} this.variableDeclarationByFile = {}