summaryrefslogtreecommitdiff
path: root/vala/valasymbol.vala
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2012-01-03 13:03:53 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2018-10-23 18:45:49 +0200
commitf7232c3e162e2d46bd4e4aeb52f41bd15f78ed93 (patch)
tree0bf1486f4bc6272d58f98b26665b2e8750371dde /vala/valasymbol.vala
parent88ca237ccd7ba0a5586422f24333df6960f88994 (diff)
downloadvala-f7232c3e162e2d46bd4e4aeb52f41bd15f78ed93.tar.gz
vala: Fix and add more to_string() methods to expressions
Diffstat (limited to 'vala/valasymbol.vala')
-rw-r--r--vala/valasymbol.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/vala/valasymbol.vala b/vala/valasymbol.vala
index 131969afb..59e75a577 100644
--- a/vala/valasymbol.vala
+++ b/vala/valasymbol.vala
@@ -472,6 +472,10 @@ public abstract class Vala.Symbol : CodeNode {
public virtual void add_destructor (Destructor d) {
Report.error (d.source_reference, "unexpected declaration");
}
+
+ public override string to_string () {
+ return get_full_name ();
+ }
}
public enum Vala.SymbolAccessibility {