]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vala: Don't prepend "unowned" in VarType and leave that to the CodeWriter
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 25 Jan 2021 20:11:55 +0000 (21:11 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 25 Jan 2021 20:14:17 +0000 (21:14 +0100)
vala/valavartype.vala

index 7187fc2c9e8403b136409c5c34aa27d6831fb732..dada3ca327b41028163e4372841691de26a6f027 100644 (file)
@@ -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 () {