summaryrefslogtreecommitdiff
path: root/vala/valareturnstatement.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/valareturnstatement.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/valareturnstatement.vala')
-rw-r--r--vala/valareturnstatement.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/vala/valareturnstatement.vala b/vala/valareturnstatement.vala
index 399f2d28e..77566e289 100644
--- a/vala/valareturnstatement.vala
+++ b/vala/valareturnstatement.vala
@@ -39,7 +39,7 @@ public class Vala.ReturnStatement : CodeNode, Statement {
}
}
- private Expression! _return_expression;
+ private Expression _return_expression;
/**
* Creates a new return statement.
@@ -51,11 +51,11 @@ public class Vala.ReturnStatement : CodeNode, Statement {
public ReturnStatement (construct Expression return_expression = null, construct SourceReference source_reference = null) {
}
- public override void accept (CodeVisitor! visitor) {
+ public override void accept (CodeVisitor visitor) {
visitor.visit_return_statement (this);
}
- public override void accept_children (CodeVisitor! visitor) {
+ public override void accept_children (CodeVisitor visitor) {
if (return_expression != null) {
return_expression.accept (visitor);
@@ -63,7 +63,7 @@ public class Vala.ReturnStatement : CodeNode, Statement {
}
}
- public override void replace_expression (Expression! old_node, Expression! new_node) {
+ public override void replace_expression (Expression old_node, Expression new_node) {
if (return_expression == old_node) {
return_expression = new_node;
}