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

Report unexpected indentation characters in margin of multiline string #1260

Merged

Conversation

paul-dingemans
Copy link
Collaborator

It can not be determined with certainty how mixed indentation characters should be interpreted.
The trimIndent function handles tabs and spaces equally (one tabs equals one space) while the
user might expect that the tab size in the indentation is more than one space.

Checklist

  • tests are added
  • CHANGELOG.md is updated

It can not be determined with certainty how mixed indentation characters should be interpreted.
The trimIndent function handles tabs and spaces equally (one tabs equals one space) while the
user might expect that the tab size in the indentation is more than one space.
@romtsn
Copy link
Collaborator

romtsn commented Oct 28, 2021

Closes #575

@romtsn romtsn merged commit a941af8 into pinterest:master Oct 28, 2021
@paul-dingemans paul-dingemans deleted the mixed-indentation-characters branch February 5, 2022 11:13
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.

None yet

2 participants