Re: [Vala] subclassing a template class



On Sat, 2009-01-10 at 19:32 -0500, Yu Feng wrote:
I made a patch to accept the following syntax:

class Container<T> {
...
}
class Stuff: Container<Widget> {
   Stuff() {
       base<Widget>();
   }
}

Bug #567319 

Thanks for the patch. I don't think it's a good idea to require the
developer to specify the type argument again when chaining up. It should
not be allowed to specify a differing type argument, so we should just
drop the requirement to specify it, in my opinion.

Jürg




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