Generics don't work in field initializers
Submitted by Ali Sabil
Link to original bug (#523767)
Description
Please describe the problem:
when defining a generic class MyClass<G>
, and defining a signal for this class void my_signal(G); the signal gets a VOID__POINTER marshaler, this works well, until you pass a GObject that is about to be unreffed, in which case the Object is lost.
Vala should maybe avoid unreffing the Object in such cases ?
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information: