I don't know if your code is valid Vala. MyInterface should not inherit
MyClass.

On Sat, Feb 27, 2016 at 10:59 mar...@saepia.net <mar...@saepia.net> wrote:

> Hello,
>
> I am planning to use interfaces as in vspec as they are nice syntax sugar
> for my purpose.
>
> However, in order to make it working properly, I need to access type
> defined as generic in the parent class implementing interface. Something
> like
>
> public interface MyIface : MyClass {
>   public MyGenericType something() {
>     ...
>   }
> }
>
>
> public abstract class MyClass<MyGenericType> : MyIface {
>
> }
>
>
> Is it possible in any way?
>
> m.
> _______________________________________________
> vala-list mailing list
> vala-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/vala-list
>
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to