summaryrefslogtreecommitdiff
path: root/vala/valaconditionalexpression.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-13 15:44:44 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-13 15:44:44 +0000
commit206cd6716043d886c6531ca358f5b442c5ea991e (patch)
tree0d277104d825ce27f0aefa6734071809aabbf1b5 /vala/valaconditionalexpression.vala
parent67916b6274ed6dfbc0200cca77a52f1f21848486 (diff)
downloadvala-206cd6716043d886c6531ca358f5b442c5ea991e.tar.gz
report warning when using obsolete syntax for non-null types
2008-04-13 Juerg Billeter <j@bitron.ch> * vala/valaparser.vala: report warning when using obsolete syntax for non-null types * */*.vala, */*.vapi: port to new syntax svn path=/trunk/; revision=1208
Diffstat (limited to 'vala/valaconditionalexpression.vala')
-rw-r--r--vala/valaconditionalexpression.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/vala/valaconditionalexpression.vala b/vala/valaconditionalexpression.vala
index a4cd9c056..87c75d98d 100644
--- a/vala/valaconditionalexpression.vala
+++ b/vala/valaconditionalexpression.vala
@@ -29,17 +29,17 @@ public class Vala.ConditionalExpression : Expression {
/**
* The condition.
*/
- public Expression! condition { get; set construct; }
+ public Expression condition { get; set construct; }
/**
* The expression to be evaluated if the condition holds.
*/
- public Expression! true_expression { get; set construct; }
+ public Expression true_expression { get; set construct; }
/**
* The expression to be evaluated if the condition doesn't hold.
*/
- public Expression! false_expression { get; set construct; }
+ public Expression false_expression { get; set construct; }
/**
* Creates a new conditional expression.
@@ -49,14 +49,14 @@ public class Vala.ConditionalExpression : Expression {
* @param false_expr expression to be evaluated if condition is false
* @return newly created conditional expression
*/
- public ConditionalExpression (Expression! cond, Expression! true_expr, Expression! false_expr, SourceReference source) {
+ public ConditionalExpression (Expression cond, Expression true_expr, Expression false_expr, SourceReference source) {
condition = cond;
true_expression = true_expr;
false_expression = false_expr;
source_reference = source;
}
- public override void accept (CodeVisitor! visitor) {
+ public override void accept (CodeVisitor visitor) {
condition.accept (visitor);
true_expression.accept (visitor);
false_expression.accept (visitor);