diff options
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/valacodegenerator.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gobject/valacodegenerator.vala b/gobject/valacodegenerator.vala index cd9a7c421..fe0ab8fa1 100644 --- a/gobject/valacodegenerator.vala +++ b/gobject/valacodegenerator.vala @@ -2748,7 +2748,9 @@ public class Vala.CodeGenerator : CodeVisitor { expr.ccodenode = new CCodeConditionalExpression ((CCodeExpression) expr.condition.ccodenode, (CCodeExpression) expr.true_expression.ccodenode, (CCodeExpression) expr.false_expression.ccodenode); } - public override void visit_end_lambda_expression (LambdaExpression! l) { + public override void visit_lambda_expression (LambdaExpression! l) { + l.accept_children (this); + l.ccodenode = new CCodeIdentifier (l.method.get_cname ()); } |