From 85cfd74faae12e90275990b2b887adc9a1f71d1d Mon Sep 17 00:00:00 2001 From: Juerg Billeter Date: Sun, 13 Apr 2008 16:17:00 +0000 Subject: deprecate construct as parameter modifier, fixes bug 524138 2008-04-13 Juerg Billeter * vala/valaparser.vala: deprecate construct as parameter modifier, fixes bug 524138 * */*.vala: port to new syntax svn path=/trunk/; revision=1209 --- vala/valawhilestatement.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vala/valawhilestatement.vala') diff --git a/vala/valawhilestatement.vala b/vala/valawhilestatement.vala index 8b23519dc..6f58bcdfe 100644 --- a/vala/valawhilestatement.vala +++ b/vala/valawhilestatement.vala @@ -63,7 +63,10 @@ public class Vala.WhileStatement : CodeNode, Statement { * @param source reference to source code * @return newly created while statement */ - public WhileStatement (construct Expression condition, construct Block body, construct SourceReference source_reference = null) { + public WhileStatement (Expression condition, Block body, SourceReference source_reference = null) { + this.body = body; + this.source_reference = source_reference; + this.condition = condition; } public override void accept (CodeVisitor visitor) { -- cgit v1.2.1