Skip to content

Rename self parameter name to selfPointer#580

Open
sidepelican wants to merge 2 commits intoswiftlang:mainfrom
sidepelican:selfPointer
Open

Rename self parameter name to selfPointer#580
sidepelican wants to merge 2 commits intoswiftlang:mainfrom
sidepelican:selfPointer

Conversation

@sidepelican
Copy link
Contributor

This is a follow-up to the renaming discussion at:
#572 (comment)

I have changed the parameters described as self: jlong in various locations to selfPointer.

During the process, I felt that SwiftSelfParameter.instance having its own parameter name property was a source of confusion.
In Swift, unlike Go, function receiver names cannot be changed, so the parameter name property is redundant information. Therefore, I have also included a change to remove it.

@sidepelican sidepelican requested a review from ktoso as a code owner March 2, 2026 06:54
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.

1 participant