@useResult
annotation doesn't work when Callable class is invoked
#48913
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
@useResult
annotation works fine when a callable class' instance is invoked explicitly by callinginstance.call(...)
however when the instance is invoked implicitlyinstance(...)
the anyalazer won't complain.dart --version
The text was updated successfully, but these errors were encountered: