We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please consider adopting sane defaults for numeric literals, drop the gratuitous i(s), f(s) etc. everywhere.
Prefer... let nums = [1, 2, 3]; //Assume all integer literals are of type int. over... let nums = [1i, 2i, 3i];
Let the type checker point out misuse of literals.
The text was updated successfully, but these errors were encountered:
Closing as a dupe of #16968
Sorry, something went wrong.
Thanks Alex.
No branches or pull requests
Please consider adopting sane defaults for numeric literals, drop the gratuitous i(s), f(s) etc. everywhere.
Prefer...
let nums = [1, 2, 3]; //Assume all integer literals are of type int.
over...
let nums = [1i, 2i, 3i];
Let the type checker point out misuse of literals.
The text was updated successfully, but these errors were encountered: