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

Fix dropping doc comments after default values #1459

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Oct 21, 2022

This commit fixes an issue where documentation comments were dropped for members that follow a member with a default value. Pending docs are only cleared when a default isn't encountered or the container is complete.

Issue #, if available:
Fixes #1457

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kstich kstich requested a review from a team as a code owner October 21, 2022 19:34
This commit fixes an issue where documentation comments were dropped
for members that follow a member with a default value. Pending docs
are only cleared when a default isn't encountered or the container
is complete.
@kstich kstich force-pushed the default_docs_drop_fix branch from 2a8e33f to fe9cc86 Compare October 21, 2022 21:01
@kstich kstich merged commit 82ffb37 into smithy-lang:main Oct 21, 2022
@kstich kstich deleted the default_docs_drop_fix branch October 21, 2022 21:50
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.

Default value syntax sugar causes subsequent trait to not be parsed
2 participants