summaryrefslogtreecommitdiff
path: root/vala/valascope.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/valascope.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/valascope.vala')
-rw-r--r--vala/valascope.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valascope.vala b/vala/valascope.vala
index d2ae791ff..94d821f19 100644
--- a/vala/valascope.vala
+++ b/vala/valascope.vala
@@ -54,7 +54,7 @@ public class Vala.Scope : Object {
* @param name name for the specified symbol
* @param sym a symbol
*/
- public void add (string name, Symbol! sym) {
+ public void add (string name, Symbol sym) {
if (name != null) {
if (symbol_table == null) {
symbol_table = new HashMap<string,Symbol> (str_hash, str_equal);
@@ -80,7 +80,7 @@ public class Vala.Scope : Object {
* @param name name of the symbol to be returned
* @return found symbol or null
*/
- public Symbol lookup (string! name) {
+ public Symbol lookup (string name) {
if (symbol_table == null) {
return null;
}