2008-04-13 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratormethod.vala: remove warning about
unsupported return types for runtime type checks, we intend to
use out parameters instead of return values for structs in
generated C code in future versions
svn path=/trunk/; revision=1218
2008-04-13 Jürg Billeter <j@bitron.ch>
+ * gobject/valaccodegeneratormethod.vala: remove warning about
+ unsupported return types for runtime type checks, we intend to
+ use out parameters instead of return values for structs in
+ generated C code in future versions
+
+2008-04-13 Jürg Billeter <j@bitron.ch>
+
* vala/valamethod.vala, vala/valasemanticanalyzer.vala:
fix method compatibility checks,
based on patch by Andreas Brauchli, fixes bug 527751
if (cdefault != null) {
ccheck.add_argument (cdefault);
} else {
- Report.warning (method_node.source_reference, "not supported return type for runtime type checks");
return new CCodeExpressionStatement (new CCodeConstant ("0"));
}
}
if (cdefault != null) {
ccheck.add_argument (cdefault);
} else {
- Report.warning (method_node.source_reference, "not supported return type for runtime type checks");
return new CCodeExpressionStatement (new CCodeConstant ("0"));
}
}