[vala/0.48] vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter
- Date: Sun, 28 Feb 2021 17:26:25 +0000 (UTC)
commit 1d8c3716cb6ed1a6b5a427ae6e95298390009075
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Jan 25 21:11:55 2021 +0100
vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter
vala/valavartype.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vala/valavartype.vala b/vala/valavartype.vala
index 7187fc2c9..dada3ca32 100644
--- a/vala/valavartype.vala
+++ b/vala/valavartype.vala
@@ -29,7 +29,7 @@ public class Vala.VarType : DataType {
}
public override string to_qualified_string (Scope? scope) {
- return (value_owned ? "var" : "unowned var");
+ return "var";
}
public override DataType copy () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]