summaryrefslogtreecommitdiff
path: root/vala/valathrowstatement.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/valathrowstatement.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/valathrowstatement.vala')
-rw-r--r--vala/valathrowstatement.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/vala/valathrowstatement.vala b/vala/valathrowstatement.vala
index 39e93201e..a2dc37d79 100644
--- a/vala/valathrowstatement.vala
+++ b/vala/valathrowstatement.vala
@@ -41,7 +41,7 @@ public class Vala.ThrowStatement : CodeNode, Statement {
}
}
- private Expression! _error_expression;
+ private Expression _error_expression;
/**
* Creates a new throw statement.
@@ -50,20 +50,20 @@ public class Vala.ThrowStatement : CodeNode, Statement {
* @param source_reference reference to source code
* @return newly created throw statement
*/
- public ThrowStatement (construct Expression! error_expression, construct SourceReference source_reference = null) {
+ public ThrowStatement (construct Expression error_expression, construct SourceReference source_reference = null) {
}
- public override void accept (CodeVisitor! visitor) {
+ public override void accept (CodeVisitor visitor) {
visitor.visit_throw_statement (this);
}
- public override void accept_children (CodeVisitor! visitor) {
+ public override void accept_children (CodeVisitor visitor) {
if (error_expression != null) {
error_expression.accept (visitor);
}
}
- public override void replace_expression (Expression! old_node, Expression! new_node) {
+ public override void replace_expression (Expression old_node, Expression new_node) {
if (error_expression == old_node) {
error_expression = new_node;
}