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/valatypeparameter.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/valatypeparameter.vala')
-rw-r--r-- | vala/valatypeparameter.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vala/valatypeparameter.vala b/vala/valatypeparameter.vala index c9d04ab1c..f6da8b574 100644 --- a/vala/valatypeparameter.vala +++ b/vala/valatypeparameter.vala @@ -42,12 +42,12 @@ public class Vala.TypeParameter : Symbol { * @param source reference to source code * @return newly created generic type parameter */ - public TypeParameter (string! _name, SourceReference source) { + public TypeParameter (string _name, SourceReference source) { name = _name; source_reference = source; } - public override void accept (CodeVisitor! visitor) { + public override void accept (CodeVisitor visitor) { visitor.visit_type_parameter (this); } @@ -58,7 +58,7 @@ public class Vala.TypeParameter : Symbol { * @return true if this type parameter is equal to param2, false * otherwise */ - public bool equals (TypeParameter! param2) { + public bool equals (TypeParameter param2) { // FIXME check whether the corresponding data type of one of the // parameters is a base type of the corresponding data // type of the other parameter and check along the path |