[vala/staging: 3/9] Recurse arguments when getting error types for method calls
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 3/9] Recurse arguments when getting error types for method calls
- Date: Tue, 23 Oct 2018 16:50:06 +0000 (UTC)
commit 1ee72d5d2a29bb59504d05e4d09add53c648a3cb
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 file changed, 4 insertions(+)
---
diff --git a/vala/valamethodcall.vala b/vala/valamethodcall.vala
index a09db9b11..9864abc0c 100644
--- a/vala/valamethodcall.vala
+++ b/vala/valamethodcall.vala
@@ -161,6 +161,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]