Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Analyzer should interpret a missing sdk lower constraint as 2.7 #44159

Closed
@leafpetersen

Description

@leafpetersen

Per language team discussion (summarized briefly here we are changing the interpretation of a pubspec sdk constraint with a missing lower bound (or in general no sdk constraint at all, though that will become a pub error) to imply a language version of 2.7. I believe that the analyzer is one of the few tools that reads pubspec.yaml directly, and hence this will need to be changed there.

This is blocker for beta, and will need to be cherry picked if it doesn't make the beta branch cut.

cc @scheglov @devoncarew

cc @pcsosinski @mit-mit @franklinyow

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failureslegacy-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