+2009-01-16 Jürg Billeter <j@bitron.ch>
+
+ * vala/valacreationmethod.vala:
+
+ Fix bogus errors about missing return type in creation methods,
+ fixes bug 564178
+
2009-01-16 Jürg Billeter <j@bitron.ch>
* gobject/valaccodebasemodule.vala:
/* valacreationmethod.vala
*
- * Copyright (C) 2007-2008 Raffaele Sandrini, Jürg Billeter
+ * Copyright (C) 2007-2009 Jürg Billeter
+ * Copyright (C) 2007-2008 Raffaele Sandrini
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
process_attributes ();
- if (type_name != null && type_name != analyzer.current_symbol.name) {
+ if (type_name != null && type_name != parent_symbol.name) {
// type_name is null for constructors generated by GIdlParser
Report.error (source_reference, "missing return type in method `%s.%s´".printf (analyzer.current_symbol.get_full_name (), type_name));
error = true;