[vala/staging] vala: Include type_name to default implementation of CCode.to_string()



commit aa628acffcb170cfb1634bc65d17b8b04a10446d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Nov 26 10:47:56 2019 +0100

    vala: Include type_name to default implementation of CCode.to_string()

 vala/valacodenode.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/vala/valacodenode.vala b/vala/valacodenode.vala
index a4002bf9a..88d283896 100644
--- a/vala/valacodenode.vala
+++ b/vala/valacodenode.vala
@@ -394,6 +394,7 @@ public abstract class Vala.CodeNode {
                var str = new StringBuilder ();
 
                str.append ("/* ");
+               str.append (type_name);
 
                if (source_reference != null) {
                        str.append ("@").append (source_reference.to_string ());


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