Re: [Vala] subclassing a template class



On Sun, 2009-01-11 at 14:50 +0100, Jürg Billeter wrote:
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.

Yes. The problem is I don't know where to look up those argument_lists;
would you take a look into it?

Yu
Jürg





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