Skip to content

Conversation

@timotheeguerin
Copy link
Member

fix #8646

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 8, 2025

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/compiler@8698

commit: 89efa70

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

All changed packages have been documented.

  • @typespec/compiler
Show changes

@typespec/compiler - fix ✏️

[TM Grammar] Fix issue with directive used after decorators

@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 8, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin timotheeguerin changed the title Fix/directive decorator grammar Fix: Directive after decorator in grammar Oct 9, 2025
Copy link
Contributor

@markcowl markcowl left a comment

Choose a reason for hiding this comment

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

Does this have any impact on formatting? Also, just curious if directives can now apply to decorator applications, or just allowed interspersed with them on the type being decorated?

@timotheeguerin timotheeguerin added this pull request to the merge queue Nov 6, 2025
Merged via the queue into microsoft:main with commit 2894420 Nov 6, 2025
27 checks passed
@timotheeguerin timotheeguerin deleted the fix/directive-decorator-grammar branch November 6, 2025 21:05
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.

tmgrammar not highlighting directive after decorators

3 participants