Skip to content

Fix incorrectly looking for position in call/new expression arguments when looking for indentation of type arguments #34779

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

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

sheetalkamat
Copy link
Member

Fixes #32487

… when looking for indentation of type arguments

Fixes #32487
Copy link
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

Question about test + punctuation nits.

Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
@sheetalkamat
Copy link
Member Author

@typescript-bot cherry-pick this to release-3.7

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request Oct 28, 2019
Component commits:
2e435ae Fix incorrectly looking for position in call/new expression arguments when looking for indentation of type arguments Fixes microsoft#32487

0bb1b40 Update src/services/formatting/smartIndenter.ts
Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
@typescript-bot
Copy link
Collaborator

Hey @sheetalkamat, I've opened #34782 for you.

@sheetalkamat sheetalkamat merged commit cbbbcfa into master Oct 28, 2019
@sheetalkamat sheetalkamat deleted the formatting branch October 28, 2019 21:02
sheetalkamat pushed a commit that referenced this pull request Oct 28, 2019
Component commits:
2e435ae Fix incorrectly looking for position in call/new expression arguments when looking for indentation of type arguments Fixes #32487

0bb1b40 Update src/services/formatting/smartIndenter.ts
Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
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.

argumentStartsOnSameLineAsPreviousArgument crashes
3 participants