nnbd: function?.call() must be null-checked #40482
Labels
legacy-area-analyzer
Use area-devexp instead.
NNBD
Issues related to NNBD Release
P1
A high priority bug; for example, a single project is unusable or has many test failures
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
The analyzer doesn't appear to correctly handle a null checked call on a
Function?
in the following program:It produces the following analyzer errors:
These calls are supposed to work after talking to @lrhn and @eernstg.
The issue occurs for me at 43b69d4.
This issue blocks getting
dart:_http
clean of analyzer errors in NNBD mode as it has two such calls.The text was updated successfully, but these errors were encountered: