[gnome-builder] vala: locator can return null
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vala: locator can return null
- Date: Sat, 26 Sep 2015 08:29:52 +0000 (UTC)
commit 8418157c0d97ee8a920367e9cf02309ceefef1ff
Author: Christian Hergert <christian hergert me>
Date: Sat Sep 26 01:27:59 2015 -0700
vala: locator can return null
plugins/vala-pack/ide-vala-locator.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/vala-pack/ide-vala-locator.vala b/plugins/vala-pack/ide-vala-locator.vala
index a9c888a..92d93e6 100644
--- a/plugins/vala-pack/ide-vala-locator.vala
+++ b/plugins/vala-pack/ide-vala-locator.vala
@@ -49,7 +49,7 @@ namespace Ide {
Location innermost_begin;
Location innermost_end;
- public Vala.Symbol locate (Vala.SourceFile file, int line, int column) {
+ public Vala.Symbol? locate (Vala.SourceFile file, int line, int column) {
location = Location (line, column);
innermost = null;
file.accept_children(this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]