[gnome-builder] vala-pack: we always have a definition in Vala



commit daf6a21371352d746be6c4dacbdbd0f613731a4d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Nov 10 19:55:24 2017 -0800

    vala-pack: we always have a definition in Vala

 src/plugins/vala-pack/ide-vala-code-indexer.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/vala-pack/ide-vala-code-indexer.vala 
b/src/plugins/vala-pack/ide-vala-code-indexer.vala
index ada0f93..544c518 100644
--- a/src/plugins/vala-pack/ide-vala-code-indexer.vala
+++ b/src/plugins/vala-pack/ide-vala-code-indexer.vala
@@ -135,7 +135,7 @@ namespace Ide
                                        }
 
                                        var entry = new Ide.ValaCodeIndexEntry () {
-                                               flags = child.flags,
+                                               flags = child.flags | Ide.SymbolFlags.IS_DEFINITION,
                                                name = search_name,
                                                kind = child.kind,
                                                begin_line = loc.begin.line,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]