[vala/0.36] codegen: Add source_reference to unsupported floating reference error
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36] codegen: Add source_reference to unsupported floating reference error
- Date: Mon, 20 Aug 2018 16:13:42 +0000 (UTC)
commit 2b56f813dc76f74ce5a0d4b0ff70b01b30623d31
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Jul 26 11:02:19 2018 +0200
codegen: Add source_reference to unsupported floating reference error
codegen/valaccodebasemodule.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 5ab7a1ea9..1df49fb81 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -5732,7 +5732,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
ccode.close ();
}
} else {
- Report.error (null, "type `%s' does not support floating references".printf
(type.data_type.name));
+ Report.error (node.source_reference, "type `%s' does not support floating
references".printf (type.data_type.name));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]