[vala/staging] 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/staging] vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter
- Date: Mon, 25 Jan 2021 20:15:07 +0000 (UTC)
commit bb97ca55e499e47bd3b02113fca65d02d993ec88
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]