2008-04-20 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: support partial interface
reimplementation, fixes bug 504079
svn path=/trunk/; revision=1279
+2008-04-20 Jürg Billeter <j@bitron.ch>
+
+ * vala/valasemanticanalyzer.vala: support partial interface
+ reimplementation, fixes bug 504079
+
2008-04-19 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when trying to set
if (base_type.data_type is Interface) {
Interface iface = (Interface) base_type.data_type;
+ if (cl.base_class != null && cl.base_class.is_subtype_of (iface)) {
+ // reimplementation of interface, class is not required to reimplement all methods
+ break;
+ }
+
/* We do not need to do expensive equality checking here since this is done
* already. We only need to guarantee the symbols are present.
*/