[vala/0.50] 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.50] vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter
- Date: Sun, 28 Feb 2021 08:58:20 +0000 (UTC)
commit 8fea9669723919131119a5f43bca1f99f0366aeb
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]