Use resolutions(()).effective_visiblities to avoid cycle errors in report_object_error
#119506
+110
−1