Skip to content

Functiontypesyntax.arguments should be named parameters #1722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

kimdv
Copy link
Contributor

@kimdv kimdv commented Jun 2, 2023

Resolves #1720

@kimdv kimdv requested a review from ahoppen as a code owner June 2, 2023 07:49
@kimdv
Copy link
Contributor Author

kimdv commented Jun 2, 2023

@swift-ci please test

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @AnthonyLatsis for reporting this and @kimdv for fixing it.

Comment on lines 92 to 93
@available(*, deprecated, renamed: "parameters")
var arguments: TupleTypeElementListSyntax { parameters }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I totally forgot that these properties also need to be settable. Would you mind also changing all the other properties in this compatibility layer to be settable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@kimdv kimdv force-pushed the kimdv/1720-functiontypesyntaxarguments-should-be-named-parameters branch from ccab20a to aacf6b6 Compare June 3, 2023 19:29
@kimdv
Copy link
Contributor Author

kimdv commented Jun 3, 2023

@swift-ci please test

@kimdv kimdv enabled auto-merge June 3, 2023 19:33
@kimdv kimdv changed the title Functiontypesyntaxarguments should be named parameters Functiontypesyntax.arguments should be named parameters Jun 3, 2023
@kimdv kimdv merged commit b950ac0 into swiftlang:main Jun 3, 2023
@kimdv kimdv deleted the kimdv/1720-functiontypesyntaxarguments-should-be-named-parameters branch June 3, 2023 21:40
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.

FunctionTypeSyntax.arguments should be named parameters
2 participants