Hi list,
is it okay that the order of interfaces plays a significant role in
Vala?
Simple example:
--------------------------------------
interface IfaceA : Object {
public abstract void method_a ();
}
interface IfaceB : Object, IfaceA {
public abstract void method_b ();
}
class Demo : Object, IfaceA, IfaceB {
public void method_a () { }
public void method_b () { }
}
--------------------------------------
This works like a charm, !but!:
--------------------------------------
interface IfaceA : Object {
public abstract void method_a ();
}
interface IfaceB : Object, IfaceA {
public abstract void method_b ();
}
class Demo : Object, IfaceB, IfaceA {
public void method_a () { }
public void method_b () { }
}
--------------------------------------
i only reordered the interfaces in the implementation. The compiler
compiles without any error. But if i want to run this programm it exits
with a Interface Implementation failure. Any idea?
Greetings
--
Günther Wutz
<[email protected]>
Student der University of Applied Science
Allgemeine Informatik
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list