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

[Bug]: Tmlanguage seems broken when using template arguments #3524

Closed
4 tasks done
timotheeguerin opened this issue Jun 5, 2024 · 0 comments · Fixed by #4089
Closed
4 tasks done

[Bug]: Tmlanguage seems broken when using template arguments #3524

timotheeguerin opened this issue Jun 5, 2024 · 0 comments · Fixed by #4089
Assignees
Labels
bug Something isn't working compiler:core Issues for @typespec/compiler triaged:core
Milestone

Comments

@timotheeguerin
Copy link
Member

Describe the bug

Using named template argument break the tm language for next statement

Reproduction

paste this in a tsp codeblock in markdown document in vscode(if you just do it in a regular typespec document the semantic highlighting will fix it)

op test1 is Some<Parameters={}>;
op test1 is Some<Parameters={}>;

highlight to

![image](https://github.com/microsoft/typespec/assets/1031227/d3a9068e-d446-4217-835a-bb3396844e6d)

Checklist

@timotheeguerin timotheeguerin added the bug Something isn't working label Jun 5, 2024
@markcowl markcowl added this to the Backlog milestone Jun 11, 2024
@markcowl markcowl added the compiler:core Issues for @typespec/compiler label Jun 11, 2024
@timotheeguerin timotheeguerin added compiler:core Issues for @typespec/compiler and removed compiler:core Issues for @typespec/compiler labels Jun 13, 2024
@timotheeguerin timotheeguerin self-assigned this Aug 5, 2024
github-merge-queue bot pushed a commit that referenced this issue Aug 8, 2024
sarangan12 pushed a commit to sarangan12/typespec that referenced this issue Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler:core Issues for @typespec/compiler triaged:core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants