Re: [Vala] Deriving classes from GLib.Thread



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]