Size zero objects created without warning or error
Submitted by Travis Reitter
Link to original bug (#694839)
Description
I accidentally created an object type without giving it a valid parent class and the Vala compiler didn't warn or error-out on me about it being invalid. I only noticed when I got a crasher:
public class Misc { public Misc() { } }
Instantiating this from JavaScript, as follows, I get:
var foo = new Misc();
CRITICAL **: Struct/union of type: Misc has size 0 in introspection data. Please check GIR (Segfault)
Version: 0.19.x