Skip to content

Convert into expression/block body priority #61577

@FMorschel

Description

@FMorschel

I'd say it is much more common for a user to prefer changing the shape of a function than to change the expected return type. I have no numbers to prove, so it is merely a guess.

So I'm proposing we review the priorities for:

  • Convert to expression function
  • Convert to expression body
  • Convert to block body
  • Convert to async function body
  • Remove 'async' modifier

So they stay relatively in the order of the list above. Never the async related ones before the shape ones.

WDYT @bwilkerson?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-assistIssues with analysis server assiststype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions