GNOME Bugzilla – Bug 593137
Use of generics in constructor should not refer to self->priv variables
Last modified: 2009-08-27 08:36:46 UTC
Use of generics in base expressions in creation methods such as the following with resolve to a segfault because the self->priv variables are not yet initialized. public class MyGenericClass<G> : MyOtherClass { public MyGenericClass () { base (typeof (G)); } }
Created attachment 141732 [details] [review] Fix use of generics in base expressions inside constructors
commit d234cb597bcd1e0e8232b15d0099c6479ca3ae11 Author: Didier 'Ptitjes <ptitjes@free.fr> Date: Wed Aug 26 12:26:12 2009 +0200 Fix use of generics in base expressions inside constructors Fixes bug 593137.