Re: [Vala] Tryout adding simple support for extension methods to valac



I'm not sure what this means.  Do you mean that the generic type is
private and can't be accessed?


It seems I just said "generic type is private and can't be accessed" :-)



What I'd like to know is if something like this would work:

extend class Gee.ArrayList<G> {
  public G get_center_item() {}
}

If not, that's unfortunate.


Not possible unfortunately.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]