mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 19:41:20 -05:00
d5be402fb3
* fix(objc): isolate empty Objective-C protocol method selectors A protocol method_list_t entry whose selector reached an empty string was appended to objc_protocols and objc_protocol_records unchecked. The final metadata schema then rejected the whole result, discarding every valid class, protocol and category. The protocol method decoder now skips only that entry and reports it as a protocol failure. The protocol keeps its other method declarations, and its record is marked partial with protocol_method_selector_empty. Fixes #4540 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(objc): treat empty local category class names as unresolved A category whose class reference pointed at a mapped local class with an empty class_ro_t name took that empty string as class_name. The final metadata schema then rejected the whole result, discarding every valid class, protocol and category. An empty local class name now fails the class reference the same way an unmapped one does: the category is kept with class_name null, class_source unresolved and a category_class_unresolved issue, and its name, methods and protocols survive. Fixes #4541 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>