Skip to content
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

Add leadingTrivia parameter to the VariableDecl convenience initializer #540

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Aug 2, 2022

A small addition to the VariableDecl convenience initializer adding an optional leadingTrivia parameter e.g. for adding doc comments to generated variable declarations.

@fwcd fwcd requested a review from ahoppen as a code owner August 2, 2022 20:42
@fwcd
Copy link
Member Author

fwcd commented Aug 2, 2022

@swift-ci please test

@fwcd fwcd merged commit 8923318 into swiftlang:main Aug 3, 2022
@fwcd fwcd deleted the variable-decl-leading-trivia branch August 3, 2022 11:38
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