Skip to content

Remove special handling for first parameter labels and certain parameter names in Swift interop.#2766

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_926284345
Open

Remove special handling for first parameter labels and certain parameter names in Swift interop.#2766
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_926284345

Conversation

@copybara-service

Copy link
Copy Markdown

Remove special handling for first parameter labels and certain parameter names in Swift interop.

The J2ObjC translator's @SwiftName Swift name generation no longer omits the first parameter label in method and constructor calls, nor does it treat certain parameter names like "value" as special. This simplifies the naming convention and makes Swift call syntax for Java functions perfectly predictable.

…ter names in Swift interop.

The J2ObjC translator's @SwiftName Swift name generation no longer omits the first parameter label in method and constructor calls, nor does it treat certain parameter names like "value" as special. This simplifies the naming convention and makes Swift call syntax for Java functions perfectly predictable.

PiperOrigin-RevId: 926284345
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