Hi, Recently I run into a problem of interfaces sharing methods.
I have two interfaces that have method of the same name, same result, same parameter list - it is done on purpose this way, so interfaces would require such method to be implemented. It compiles fine. But it crushes when run. I checked c code and found out that although both interfaces are defined fine, when they are set up, only one of them has shared method set up properly. Other one doesn't mention the method (so it is either 0 or undefined, I didn't check that). I would love to have it working by setting up shared method properly for both interfaces (that would be great and would be another unique and useful thing in vala), although disallowing that by throwing an error during compilation could also be fine as you can work around it by creating third interface and making it a prerequisite for both interfaces. Regards, Jarek Ciupinski (I love vala for two reasons: 1 it is a language that makes lots of things easier, 2 I have no problems with using same code under both Windows and Linux - it is maybe worth mentioning that I work on a game and it isn't main purpouse of vala creation and I don't know if it was considered as a language for game creation).
_______________________________________________ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list