summaryrefslogtreecommitdiff
path: root/vala/valanamedargument.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valanamedargument.vala')
-rw-r--r--vala/valanamedargument.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valanamedargument.vala b/vala/valanamedargument.vala
index 6b6764982..c88e8fce7 100644
--- a/vala/valanamedargument.vala
+++ b/vala/valanamedargument.vala
@@ -61,7 +61,7 @@ public class Vala.NamedArgument : Expression {
return inner.is_pure ();
}
- public override bool check (SemanticAnalyzer analyzer) {
+ public override bool check (CodeContext context) {
if (checked) {
return !error;
}
@@ -70,7 +70,7 @@ public class Vala.NamedArgument : Expression {
inner.target_type = target_type;
- if (!inner.check (analyzer)) {
+ if (!inner.check (context)) {
error = true;
return false;
}