summaryrefslogtreecommitdiff
path: root/vala/valaarraycreationexpression.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/valaarraycreationexpression.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/valaarraycreationexpression.vala')
-rw-r--r--vala/valaarraycreationexpression.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/vala/valaarraycreationexpression.vala b/vala/valaarraycreationexpression.vala
index bbac6f037..ec8dc9586 100644
--- a/vala/valaarraycreationexpression.vala
+++ b/vala/valaarraycreationexpression.vala
@@ -70,7 +70,11 @@ public class Vala.ArrayCreationExpression : Expression {
return new ReadOnlyList<Expression> (sizes);
}
- public ArrayCreationExpression (construct DataType element_type, construct int rank, construct InitializerList initializer_list, construct SourceReference source_reference) {
+ public ArrayCreationExpression (DataType element_type, int rank, InitializerList initializer_list, SourceReference source_reference) {
+ this.rank = rank;
+ this.initializer_list = initializer_list;
+ this.source_reference = source_reference;
+ this.element_type = element_type;
}
public override void accept_children (CodeVisitor visitor) {