Skip to content

Require a semicolon after augment decorator statements#2343

Merged
daviwil merged 1 commit into
microsoft:mainfrom
daviwil:augment-statement-semicolon
Sep 5, 2023
Merged

Require a semicolon after augment decorator statements#2343
daviwil merged 1 commit into
microsoft:mainfrom
daviwil:augment-statement-semicolon

Conversation

@daviwil

@daviwil daviwil commented Aug 30, 2023

Copy link
Copy Markdown
Contributor

This PR fixes #2059 by requiring that a semicolon appear after an augment decorator statement. This is a breaking change but it should be mitigated by the fact that the TypeSpec formatter already adds a semicolon for all augment decorator statements.

@github-actions

Copy link
Copy Markdown
Contributor

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/2343/

Website: https://cadlwebsite.z1.web.core.windows.net/prs/2343/

@daviwil
daviwil force-pushed the augment-statement-semicolon branch from 37d70c7 to c91d4b3 Compare August 30, 2023 13:33
@daviwil
daviwil merged commit ae07658 into microsoft:main Sep 5, 2023
@daviwil
daviwil deleted the augment-statement-semicolon branch September 5, 2023 17:10
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.

Parser should require semicolon after augment decorator statement

2 participants