Commit 054926e2 authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

support partial interface reimplementation, fixes bug 504079

2008-04-20  Juerg Billeter  <j@bitron.ch>

	* vala/valasemanticanalyzer.vala: support partial interface
	  reimplementation, fixes bug 504079

svn path=/trunk/; revision=1279
parent 1aa344ca
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
......
......@@ -180,6 +180,11 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
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.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment