-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add a hint when a double is printed #57145
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
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-linter
Issues with the analyzer's support for the linter package
linter-lint-request
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Comments
Removed Priority-Unassigned label. |
Added Analyzer-Hint label. |
Changed the title to: "Add a hint when a double is printed". |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
Since there are certainly false-positives here, I think this is better suited for the linter. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-linter
Issues with the analyzer's support for the linter package
linter-lint-request
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
dart2js and vm differ when printing doubles.
double x = 5.0;
print("x is $x") ;
vm : 5.0
dart2js : 5
Until Issue #15881 is address, can we give the developer a hint or warning that printing a double results in differing behavior. Giving developers early warnings when code runs differently really helps to shorten the bug cycle.
The text was updated successfully, but these errors were encountered: