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
For pure predicates p we should be able to infer
if (a is List && p) { // a known as List }
The text was updated successfully, but these errors were encountered:
As far as I can tell this type promotion is working. If it isn't please add a concrete example.
Sorry, something went wrong.
Perhaps a limitation like discussed in #33932
No branches or pull requests
For pure predicates p we should be able to infer
if (a is List && p) {
// a known as List
}
The text was updated successfully, but these errors were encountered: