summaryrefslogtreecommitdiff
path: root/vala/valalockstatement.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-13 16:17:00 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-13 16:17:00 +0000
commit85cfd74faae12e90275990b2b887adc9a1f71d1d (patch)
tree2cce940835212c7cd7c0854482abe9a74cbbd120 /vala/valalockstatement.vala
parent206cd6716043d886c6531ca358f5b442c5ea991e (diff)
downloadvala-85cfd74faae12e90275990b2b887adc9a1f71d1d.tar.gz
deprecate construct as parameter modifier, fixes bug 524138
2008-04-13 Juerg Billeter <j@bitron.ch> * vala/valaparser.vala: deprecate construct as parameter modifier, fixes bug 524138 * */*.vala: port to new syntax svn path=/trunk/; revision=1209
Diffstat (limited to 'vala/valalockstatement.vala')
-rw-r--r--vala/valalockstatement.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/vala/valalockstatement.vala b/vala/valalockstatement.vala
index 3c14cc185..ab57045e9 100644
--- a/vala/valalockstatement.vala
+++ b/vala/valalockstatement.vala
@@ -36,7 +36,10 @@ public class Vala.LockStatement : CodeNode, Statement {
*/
public Block body { get; set construct; }
- public LockStatement (construct Expression resource, construct Block body, construct SourceReference source_reference = null) {
+ public LockStatement (Expression resource, Block body, SourceReference source_reference = null) {
+ this.body = body;
+ this.source_reference = source_reference;
+ this.resource = resource;
}
public override void accept (CodeVisitor visitor) {