diff options
Diffstat (limited to 'ccode/valaccodeforstatement.vala')
-rw-r--r-- | ccode/valaccodeforstatement.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ccode/valaccodeforstatement.vala b/ccode/valaccodeforstatement.vala index 28bcc5aa5..03ca7febb 100644 --- a/ccode/valaccodeforstatement.vala +++ b/ccode/valaccodeforstatement.vala @@ -40,7 +40,9 @@ public class Vala.CCodeForStatement : CCodeStatement { private Gee.List<CCodeExpression> initializer = new ArrayList<CCodeExpression> (); private Gee.List<CCodeExpression> iterator = new ArrayList<CCodeExpression> (); - public CCodeForStatement (construct CCodeExpression condition, construct CCodeStatement body = null) { + public CCodeForStatement (CCodeExpression condition, CCodeStatement body = null) { + this.body = body; + this.condition = condition; } /** |