Skip to content

Review unawaited to accept FutureOr #59877

Closed as not planned
Closed as not planned
@FMorschel

Description

@FMorschel

The unawaited function is suggested as a fix for discarded_futures and currently takes only Future as a parameter so this is not a valid fix for FutureOr.

It should only show the fix to make the scope async.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ondevexp-linterIssues with the analyzer's support for the linter packagelegacy-area-analyzerUse area-devexp instead.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions