Skip to content

Conversation

@abonie
Copy link
Member

@abonie abonie commented Feb 24, 2023

Seems like checking for end line flex and whether string is interpolated is not necessary for splitting format string into fragments, although I am not entirely sure about either of those.

@abonie abonie force-pushed the simplify_check_format_strings branch 3 times, most recently from 2e8eadf to 46b040a Compare February 27, 2023 11:42
@abonie abonie marked this pull request as ready for review February 27, 2023 11:52
@abonie abonie requested a review from a team as a code owner February 27, 2023 11:52
Copy link
Contributor

@psfinaki psfinaki left a comment

Choose a reason for hiding this comment

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

Are there already tests for this?

@abonie
Copy link
Member Author

abonie commented Feb 27, 2023

Are there already tests for this?

Good question. There are various tests related to this, but I am not 100% confident that their coverage is good enough. I'll check it out, although atm struggling with building fsharp locally

Copy link
Contributor

@KevinRansom KevinRansom left a comment

Choose a reason for hiding this comment

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

Looks good.

Seems like checking for end line flex and whether string is interpolated
is not necessary for splitting format string into fragments, although I
am not entirely sure about either of those.
@abonie abonie force-pushed the simplify_check_format_strings branch from 28d1874 to 67919b1 Compare February 27, 2023 17:25
Copy link
Contributor

@0101 0101 left a comment

Choose a reason for hiding this comment

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

I definitely like the simplification. Would be nice to see about the tests though. Maybe try putting some errors there and see if any tests fail? If not we probably need to add some.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants