summaryrefslogtreecommitdiff
path: root/vala/valainitializerlist.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valainitializerlist.vala')
-rw-r--r--vala/valainitializerlist.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valainitializerlist.vala b/vala/valainitializerlist.vala
index 5028caf27..5ed9ba86f 100644
--- a/vala/valainitializerlist.vala
+++ b/vala/valainitializerlist.vala
@@ -93,7 +93,7 @@ public class Vala.InitializerList : Expression {
}
}
- public override bool check (SemanticAnalyzer analyzer) {
+ public override bool check (CodeContext context) {
if (checked) {
return !error;
}
@@ -123,7 +123,7 @@ public class Vala.InitializerList : Expression {
old_parent_node.replace_expression (this, array_creation);
checked = false;
- return array_creation.check (analyzer);
+ return array_creation.check (context);
}
DataType inner_target_type;
@@ -171,7 +171,7 @@ public class Vala.InitializerList : Expression {
}
foreach (Expression expr in initializers) {
- expr.check (analyzer);
+ expr.check (context);
}
bool error = false;