Commit c27f8281 authored by yann300's avatar yann300

clear index

parent cd33620f
...@@ -13,13 +13,12 @@ class ContextualListener { ...@@ -13,13 +13,12 @@ class ContextualListener {
events.compiler.register('compilationFinished', (success, data, source) => { events.compiler.register('compilationFinished', (success, data, source) => {
this._stopWarning() this._stopWarning()
this._index = {
ReferencedDeclarations: {},
Expressions: []
}
if (success) { if (success) {
this._buildIndex(data, source) this._buildIndex(data, source)
} else {
this._index = {
ReferencedDeclarations: {},
Expressions: []
}
} }
}) })
this.sourceMappingDecoder = new SourceMappingDecoder() this.sourceMappingDecoder = new SourceMappingDecoder()
......
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