summaryrefslogtreecommitdiff
path: root/vala/valaunresolvedtype.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/valaunresolvedtype.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/valaunresolvedtype.vala')
-rw-r--r--vala/valaunresolvedtype.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valaunresolvedtype.vala b/vala/valaunresolvedtype.vala
index 5330051d6..ba9790785 100644
--- a/vala/valaunresolvedtype.vala
+++ b/vala/valaunresolvedtype.vala
@@ -72,7 +72,7 @@ public class Vala.UnresolvedType : DataType {
* @param source reference to source code
* @return newly created type reference
*/
- public static UnresolvedType new_from_expression (Expression! expr) {
+ public static UnresolvedType new_from_expression (Expression expr) {
string ns = null;
string type_name = null;
if (expr is MemberAccess) {
@@ -102,7 +102,7 @@ public class Vala.UnresolvedType : DataType {
return null;
}
- public override DataType! copy () {
+ public override DataType copy () {
var result = new UnresolvedType ();
result.source_reference = source_reference;
result.transfers_ownership = transfers_ownership;