[vala/staging] girparser: Add "move-to" value of functions as Version.replacement



commit f00ba57991b3068b5ba0d7391bbf9b0d3522deeb
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Aug 3 18:11:06 2021 +0200

    girparser: Add "move-to" value of functions as Version.replacement

 vala/valagirparser.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 02b5538b5..ee28f8350 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -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 ();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]