-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Add outlining spans for call expression or arrow body #39109
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
Conversation
@typescript-bot pack this. |
@typescript-bot pack this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do constructs "play together" in this case? @jessetrinity
For example, what if you have a multi-line call in a multi-line arrow function? Does Roslyn have to do anything special here @CyrusNajmabadi?
The play together problem also existed in not only call but also another syntax. For example, multi-line tagged template in a multi-line arrow function. And I don't think we have something to handle them. |
Nested outlining spans are the normal case (think about a call, inside a method, inside a class, inside a namespace). So it just falls out naturally. |
Fixes #38597