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

Fix some edge cases when serializing edge-case numbers #1312

Merged
merged 4 commits into from May 20, 2021
Merged

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented May 18, 2021

@nex3 nex3 requested a review from Awjin May 18, 2021 02:14
Copy link
Contributor

@Awjin Awjin left a comment

Choose a reason for hiding this comment

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

The changes LGTM. It looks like some tests are failing due to the slash-as-div deprecation warnings.

@@ -759,59 +761,108 @@ class _SerializeVisitor
/// Assuming [text] is a double written without exponent notation, writes it
/// to [_buffer] with at most [SassNumber.precision] digits after the decimal.
void _writeDecimal(String text) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Great docs throughout, they are super helpful.

@nex3 nex3 merged commit f33b934 into master May 20, 2021
@nex3 nex3 deleted the small-numbers branch May 20, 2021 00:29
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