Because of some optimizations, the inheritance is not always performed
on classes. The selection of a local property is not aware of that and
access thing event if the inheritance is not computed.
This patch force the inheritance if the global property is not found.
Signed-off-by: Jean Privat <jean@pryen.org>
return _local_property_by_global[glob]
else if has_global_property(glob) then
return inherit_local_property(glob)
+ else if not computed_super_classes then
+ compute_super_classes
+ computed_ancestors
+ inherit_global_properties
+ assert has_global_property(glob)
+ return inherit_local_property(glob)
else
abort
end