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

Fail parsing of missing display hint #647

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

justahero
Copy link
Contributor

Before this change a format string was allowed to contain {:} without a display hint, which resulted in a DisplayHint::NoHint.

Before this change a format string was allowed to contain `{:}` without
a display hint, which resulted in a `DisplayHint::NoHint`.
Copy link
Contributor

@jonas-schievink jonas-schievink left a comment

Choose a reason for hiding this comment

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

This can theoretically break code, but I think we can classify this as a bugfix

Copy link
Member

@japaric japaric left a comment

Choose a reason for hiding this comment

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

Agree on this, theoretically, being a breaking-change that's likely to go unnoticed.

@japaric
Copy link
Member

japaric commented Dec 15, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 15, 2021

Build succeeded:

@bors bors bot merged commit 5ef0ba7 into main Dec 15, 2021
@bors bors bot deleted the fail-parsing-when-displayhint-missing branch December 15, 2021 13:57
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.

3 participants