Re: [Vala] subclassing a template class
- From: Jürg Billeter <j bitron ch>
- To: Yu Feng <rainwoodman gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] subclassing a template class
- Date: Sun, 11 Jan 2009 14:50:20 +0100
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]