Skip to content

enable unawaited_futures analysis option #5793

Description

@danrubel

Enable the unawaited_futures analysis option in the 2 flutter repo analysis option files and cleanup the generated warnings.

Activity

  1. modified the milestone: on Sep 12, 2016
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Sep 12, 2016
  3. Hixie commented on Jan 22, 2017

    @Hixie
    Contributor

    This might be WONTFIX. We rarely await futures and it's not clear it would make the code cleaner. Most of our futures are harmless to ignore (e.g. the ones from animation controllers), and most can never throw errors so awaiting them to catch the error doesn't really help.

  4. modified the milestones: , on Feb 3, 2017
  5. tvolkert commented on Feb 15, 2017

    @tvolkert
    Contributor

    FYI, recent updates to package:test have made this even less likely to provide any value -- dart-lang/test#529 (comment)

  6. danrubel commented on Feb 15, 2017

    @danrubel
    Author

    Closing this as WONTFIX makes sense to me.

  7. added a commit that references this issue on Feb 15, 2017
  8. added a commit that references this issue on Jul 19, 2018
  9. added a commit that references this issue on Jul 19, 2018
  10. github-actions commented on Aug 8, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  11. locked as resolved and limited conversation to collaborators on Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions