[vala] Visit type parameters of generic methods
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Visit type parameters of generic methods
- Date: Fri, 16 Oct 2009 14:32:56 +0000 (UTC)
commit 8adb800024ed34f2f9ef5cbaaeddc2dd5f9c9c36
Author: Didier 'Ptitjes <ptitjes free fr>
Date: Fri Oct 16 15:25:01 2009 +0200
Visit type parameters of generic methods
vala/valamethod.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valamethod.vala b/vala/valamethod.vala
index 53c842b..731e9d6 100644
--- a/vala/valamethod.vala
+++ b/vala/valamethod.vala
@@ -299,6 +299,10 @@ public class Vala.Method : Member {
}
public override void accept_children (CodeVisitor visitor) {
+ foreach (TypeParameter p in get_type_parameters ()) {
+ p.accept (visitor);
+ }
+
if (return_type != null) {
return_type.accept (visitor);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]