forked from smithy-lang/smithy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dangling doc comments in structures (smithy-lang#1776)
Due to differences in how structures are parsed vs lists and maps, dangling doc comments were not being handled properly on structure shapes. Our tests were only verifying the behavior for maps, so it wasn't caught initially. With these changes, proper warnings are emitted when there are dangling doc comments in a structure shape.
- Loading branch information
1 parent
b372f11
commit 2fd4d3d
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters