[vala/wip/issue/658: 40/48] Changed error msg from delegate0 to <anonymous>
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/issue/658: 40/48] Changed error msg from delegate0 to <anonymous>
- Date: Sat, 31 Oct 2020 15:08:17 +0000 (UTC)
commit cf1bd3494ce161054c67b64bfd10fd167cbbb880
Author: Nick Schrader <nick schrader mailbox org>
Date: Sun Oct 25 19:06:33 2020 -0300
Changed error msg from delegate0 to <anonymous>
vala/valacallabletype.vala | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/vala/valacallabletype.vala b/vala/valacallabletype.vala
index 14813ec5b..53ccd6a1f 100644
--- a/vala/valacallabletype.vala
+++ b/vala/valacallabletype.vala
@@ -60,7 +60,11 @@ public abstract class Vala.CallableType : DataType {
// Append name
builder.append_c (' ');
- builder.append (override_name ?? this.to_string ());
+ if (symbol.anonymous) {
+ builder.append ("<anonymous>");
+ } else {
+ builder.append (override_name ?? this.to_string ());
+ }
builder.append_c (' ');
// Append parameter-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]