]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
girparser: Add "move-to" value of functions as Version.replacement
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 3 Aug 2021 16:11:06 +0000 (18:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Aug 2021 13:02:02 +0000 (15:02 +0200)
vala/valagirparser.vala

index 02b5538b580a8579503bc9e7e245c41497c7ecbd..ee28f83508568ee6d9e9269482b93a56bdbfebb7 100644 (file)
@@ -3244,6 +3244,7 @@ public class Vala.GirParser : CodeVisitor {
                string name = current.name;
                string throws_string = reader.get_attribute ("throws");
                string invoker = reader.get_attribute ("invoker");
+               current.deprecated_replacement = reader.get_attribute ("moved-to");
 
                next ();