check if base has any definition before invoking needsImplicitDefaultConstructor