pull/1/head
yann300 7 years ago
parent 7830667a1a
commit 4d86b8f093
  1. 6
      src/app/editor/contextualListener.js

@ -75,9 +75,9 @@ class ContextualListener {
var self = this var self = this
function highlights (id) { function highlights (id) {
if (self._index['Declarations'] && self._index['Declarations'][id]) { if (self._index['Declarations'] && self._index['Declarations'][id]) {
var calls = self._index['Declarations'][id] var refs = self._index['Declarations'][id]
for (var call in calls) { for (var ref in refs) {
var node = calls[call] var node = refs[ref]
self._highlight(node, compilationResult) self._highlight(node, compilationResult)
} }
} }

Loading…
Cancel
Save