Skip to content

build_resolvers error with latest analyzer + next flutter stable #2763

Closed
@jakemac53

Description

@jakemac53

The flutter SDK has // @dart=2.9 comments in it, meant to opt it in, but the latest analyzer now requires language version 2.10 (regardless of the current sdk version).

I don't know the best way to resolve this, soon flutter will presumably have the // @dart=2.10 comments (it will have to), but all old flutter sdks would be broken with build_runner if users get the latest analyzer.

cc @scheglov @leafpetersen @natebosch

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failures

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions