Skip to content

Print negative on float literals in the ASTDumper #23484

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 1 commit into from
Mar 22, 2019

Conversation

vinivendra
Copy link
Contributor

Negative float literals didn't dump any information on the fact that they were negative. For contrast, int literals dump negative on their AST when appropriate. This pull request adds the same logic from int literals to float literals.

Resolves SR-10131.

@jrose-apple
Copy link
Contributor

@swift-ci Please smoke test and merge

@jrose-apple jrose-apple self-assigned this Mar 22, 2019
@swift-ci swift-ci merged commit 48d8ed0 into swiftlang:master Mar 22, 2019
@jrose-apple
Copy link
Contributor

As mentioned, it should be okay to cherry-pick this to 5.1 as well.

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