[vala/staging] codegen: Add source_reference to unsupported floating reference error
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] codegen: Add source_reference to unsupported floating reference error
- Date: Thu, 26 Jul 2018 09:09:26 +0000 (UTC)
commit b00f9172845d74a0175b3216ebcc0f4f0b0973b3
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 57d277de4..657d7ddbb 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -5868,7 +5868,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]