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/valaswitchstatement.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/valaswitchstatement.vala')
-rw-r--r-- | vala/valaswitchstatement.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vala/valaswitchstatement.vala b/vala/valaswitchstatement.vala index 486f16e74..ddfbed191 100644 --- a/vala/valaswitchstatement.vala +++ b/vala/valaswitchstatement.vala @@ -50,7 +50,9 @@ public class Vala.SwitchStatement : CodeNode, Statement { * @param source_reference reference to source code * @return newly created switch statement */ - public SwitchStatement (construct Expression expression, construct SourceReference source_reference) { + public SwitchStatement (Expression expression, SourceReference source_reference) { + this.source_reference = source_reference; + this.expression = expression; } /** |