summaryrefslogtreecommitdiff
path: root/vala/valatypeparameter.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/valatypeparameter.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/valatypeparameter.vala')
-rw-r--r--vala/valatypeparameter.vala6
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