Skip to content

Conversation

kimdv
Copy link
Contributor

@kimdv kimdv commented Apr 29, 2021

No description provided.

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.

One small comment inline, otherwise looks good to me.

% for child_param in child_params:
let ${child_param}
% for let_variable in let_variables:
let ${let_variable}
Copy link
Member

Choose a reason for hiding this comment

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

Since we are no longer using let_variables for the initializer, I think we can just print the straight away instead of storing them in an array first.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! That was a little brain fart! 🤦‍♂️

@kimdv kimdv force-pushed the kimdv/omit-optional-init-parameters branch 2 times, most recently from c5e6017 to d41ecad Compare April 29, 2021 16:59
@kimdv kimdv force-pushed the kimdv/omit-optional-init-parameters branch from d41ecad to dae0f99 Compare April 30, 2021 06:07
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.

LGTM

@ahoppen
Copy link
Member

ahoppen commented Apr 30, 2021

@swift-ci Please test

@ahoppen ahoppen merged commit bc6eefb into swiftlang:main Apr 30, 2021
@kimdv kimdv deleted the kimdv/omit-optional-init-parameters branch May 2, 2021 18:19
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