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?
to your account
Highlight either the as keyword or the nullable type, maybe even just the question-mark.
Whole expression on the left of the cast is highlighted.
Any expression really, but it shows most when the casted thing is a chain of functional code
// very long code
}.first() as String?
Pretty much the same as #5316, but a different rule.
The text was updated successfully, but these errors were encountered:
Report CastToNullableType at the cast operator instead of the whole e…
Successfully merging a pull request may close this issue.