Re: [Vala] Deriving classes from GLib.Thread
- From: Luca Bruno <lethalman88 gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Deriving classes from GLib.Thread
- Date: Fri, 03 May 2013 09:10:30 +0200
On 03/05/2013 07:58, Tal Hadad wrote:
Yes, it's invalid because you inherit from compact class.
However, you pointing up an issue!
Shell ValaC give a "normal" error on inheritance?
e.g.:
"MThread.vala:1.1-3.18: error: class `MThread<T>' can't inherit from class `GLib.Thread',
since it's compact.
class MThread<T> : GLib.Thread<T>
Or just read the error message: you can't do base(), but it's possible
to have compact class inheritance to some extent.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]