Skip to content

Model parameter modifiers as a ModifierList #861

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

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 29, 2022

This allows more flexibility in the future if more parameters get added in the future and if those might be ordered arbitrarily. It also makes fixing a parsing issue in the C++ parser easier.

@ahoppen ahoppen force-pushed the ahoppen/text-choices-for-isolated branch from 3397fe4 to ccc9623 Compare September 30, 2022 12:02
@ahoppen ahoppen marked this pull request as ready for review September 30, 2022 12:05
@ahoppen
Copy link
Member Author

ahoppen commented Sep 30, 2022

swiftlang/swift#61353

@swift-ci Please test

@ahoppen ahoppen changed the title Add text_choices for isolated and _const token in FunctionParameter Model parameter modifiers as a ModifierList Sep 30, 2022
@ahoppen
Copy link
Member Author

ahoppen commented Sep 30, 2022

@ahoppen ahoppen requested a review from CodaFi September 30, 2022 16:25
@ahoppen ahoppen force-pushed the ahoppen/text-choices-for-isolated branch from ccc9623 to d06bb9c Compare September 30, 2022 16:26
@rintaro
Copy link
Member

rintaro commented Sep 30, 2022

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented Sep 30, 2022

This allows more flexibility in the future if more parameters get added in the future and if those might be ordered arbitrarily. It also makes fixing a parsing issue in the C++ parser easier.
@ahoppen ahoppen force-pushed the ahoppen/text-choices-for-isolated branch from d06bb9c to e54f1d7 Compare October 1, 2022 10:17
@ahoppen
Copy link
Member Author

ahoppen commented Oct 1, 2022

@ahoppen ahoppen merged commit 599cca0 into swiftlang:main Oct 3, 2022
@ahoppen ahoppen deleted the ahoppen/text-choices-for-isolated branch October 3, 2022 19: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.

2 participants