diff options
author | Juerg Billeter <j@bitron.ch> | 2008-04-13 15:44:44 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-04-13 15:44:44 +0000 |
commit | 206cd6716043d886c6531ca358f5b442c5ea991e (patch) | |
tree | 0d277104d825ce27f0aefa6734071809aabbf1b5 /vala/valathrowstatement.vala | |
parent | 67916b6274ed6dfbc0200cca77a52f1f21848486 (diff) | |
download | vala-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.vala | 10 |
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; } |