On 10/10/2016 16:32, Lin Ma wrote: >>This doesn't make any conceptual sense. UserCreatable is an inteface and >>by definition all interfaces are abstract. > > Sorry for the late reply, I was on vacation. > oh...indeed, add '.abstract = true' for an interface is not a good idea.
Perhaps Lin Ma's patch actually made some sense. If all interfaces are abstract, why shouldn't object_class_is_abstract say so? The right fix then would be to add a new check in there, using type_is_ancestor(..., type_interface). This would also fix object_new_with_propv. Paolo