Skip to content

Conversation

@ishland
Copy link

@ishland ishland commented Jan 6, 2026

This PR fixes the issue where two different method names with different descriptors remap to the same name by always setting the target method descriptor unless wildcard is used. This avoids extra surprise injections after remapping.

The exact case can be seen in the newly added test case.

@LlamaLad7
Copy link
Member

IMO the descriptor should only be added if the name maps to things it didn't match in the source namespace

@ishland
Copy link
Author

ishland commented Jan 6, 2026

IMO the descriptor should only be added if the name maps to things it didn't match in the source namespace

I've added the check that looks for such cases by trying to map every method owned by the same owner, as there does not seem to be a way to look up reverse mappings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants