Skip to content

Hint text in pkg/analyzer/lib/src/dart/error/hint_codes.dart reference SDK v2.2.2 #36879

@nshahan

Description

@nshahan

I noticed this when I tried to use the ui-as-code features and got the hint in my editor.

The for, if and spread elements were not supported until version 2.2.2, but this code is required to be able to run on earlier versions.
Try updating the SDK constraints.

"The for, if and spread elements were not supported until version 2.2.2, "

Some of these should be updated to v2.3.0. Others like the >>> operator, I'm not sure about.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions