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

[Generator] Consistent style for initializing local variables #159

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

czechboy0
Copy link
Contributor

Motivation

Move to a consistent style when initializing local variables, always use let foo = Foo(...) vs let foo: Foo = .init(...).

Modifications

Updated all occurrences of the latter to use the former.

Also updated for the generated code.

Result

Consistent local variable initialization.

Test Plan

All tests passed.

@czechboy0 czechboy0 added the semver/none No version bump required. label Aug 1, 2023
@czechboy0 czechboy0 merged commit 16420df into apple:main Aug 1, 2023
@czechboy0 czechboy0 deleted the hd-local-init-style branch August 1, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants