Skip to content

Add a 3-way fallback to the static C dispatch helper generated for interface methods annotated with @ObjectiveCKmpMethod: if the instance implements neither the unadapted selector nor the adapted selector (e.g., an Objective-C class inheriting the protocol default method without overriding it), dispatch to the interface's default method implementation function. - #2907

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1005108369
Nov 5, 2026

Conversation

@copybara-service

Copy link
Copy Markdown

Add a 3-way fallback to the static C dispatch helper generated for interface methods annotated with @ObjectiveCKmpMethod: if the instance implements neither the unadapted selector nor the adapted selector (e.g., an Objective-C class inheriting the protocol default method without overriding it), dispatch to the interface's default method implementation function.

@copybara-service
copybara-service Bot force-pushed the test_1005108369 branch 2 times, most recently from e3fa06e to bb7a87e Compare November 5, 2026 21:49
…terface methods annotated with @ObjectiveCKmpMethod: if the instance implements neither the unadapted selector nor the adapted selector (e.g., an Objective-C class inheriting the protocol default method without overriding it), dispatch to the interface's default method implementation function.

PiperOrigin-RevId: 1014997971
@copybara-service
copybara-service Bot merged commit fe173a7 into master Nov 5, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_1005108369 branch November 5, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant