summaryrefslogtreecommitdiff
path: root/vala/valacastexpression.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/valacastexpression.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/valacastexpression.vala')
-rw-r--r--vala/valacastexpression.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/vala/valacastexpression.vala b/vala/valacastexpression.vala
index 4b73c3e95..ba35a2056 100644
--- a/vala/valacastexpression.vala
+++ b/vala/valacastexpression.vala
@@ -66,7 +66,11 @@ public class Vala.CastExpression : Expression {
* @param type target type
* @return newly created cast expression
*/
- public CastExpression (construct Expression inner, construct DataType type_reference, construct SourceReference source_reference, construct bool is_silent_cast) {
+ public CastExpression (Expression inner, DataType type_reference, SourceReference source_reference, bool is_silent_cast) {
+ this.type_reference = type_reference;
+ this.source_reference = source_reference;
+ this.is_silent_cast = is_silent_cast;
+ this.inner = inner;
}
public override void accept (CodeVisitor visitor) {