[vala/wip/transform: 164/169] Recurse arguments when getting error types for method calls
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/transform: 164/169] Recurse arguments when getting error types for method calls
- Date: Thu, 17 Nov 2016 09:35:20 +0000 (UTC)
commit 1453f8d4c23f070225d7a6a8adc38ad5fedf2956
Author: Luca Bruno <lucabru src gnome org>
Date: Tue Feb 4 01:00:39 2014 +0100
Recurse arguments when getting error types for method calls
vala/valamethodcall.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valamethodcall.vala b/vala/valamethodcall.vala
index 5ca9123..e3f58e7 100644
--- a/vala/valamethodcall.vala
+++ b/vala/valamethodcall.vala
@@ -181,6 +181,10 @@ public class Vala.MethodCall : Expression {
var d = ((DelegateType) mtype).delegate_symbol;
d.get_error_types (collection, source_reference);
}
+
+ foreach (Expression expr in argument_list) {
+ expr.get_error_types (collection, source_reference);
+ }
}
public override bool check (CodeContext context) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]