diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-13 16:17:00 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-13 16:17:00 +0000 |
commit | 85cfd74faae12e90275990b2b887adc9a1f71d1d (patch) | |
tree | 2cce940835212c7cd7c0854482abe9a74cbbd120 /vala/valaconstant.vala | |
parent | 206cd6716043d886c6531ca358f5b442c5ea991e (diff) | |
download | vala-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/valaconstant.vala')
-rw-r--r-- | vala/valaconstant.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vala/valaconstant.vala b/vala/valaconstant.vala index 8e5a2b9e4..3888ddf93 100644 --- a/vala/valaconstant.vala +++ b/vala/valaconstant.vala @@ -57,7 +57,11 @@ public class Vala.Constant : Member, Lockable { * @param source_reference reference to source code * @return newly created constant */ - public Constant (construct string name, construct DataType type_reference, construct Expression initializer, construct SourceReference source_reference) { + public Constant (string name, DataType type_reference, Expression initializer, SourceReference source_reference) { + this.type_reference = type_reference; + this.initializer = initializer; + this.source_reference = source_reference; + this.name = name; } public override void accept (CodeVisitor visitor) { |