Skip to content

[analyzer] add null safety expectations to various tests #51144

Open
@asashour

Description

@asashour

There are 6 places in tests with todos referring to #44666, which is now closed.

Would it make sense to just migrate the tests to NNBD (removing pre-nnbd expectations), or they can remain but only the expectation differ like in

isNullSafetyEnabled ? [error(HintCode.DEAD_CODE, 66, 2)] : [],

The places are:

// TODO(https://github.com/dart-lang/sdk/issues/44666): Use null safety in

// TODO(https://github.com/dart-lang/sdk/issues/44666): Use null safety in

// TODO(https://github.com/dart-lang/sdk/issues/44666): Use null safety in

// TODO(https://github.com/dart-lang/sdk/issues/44666): Use null safety in

// TODO(https://github.com/dart-lang/sdk/issues/44666): Use null safety in

// TODO(https://github.com/dart-lang/sdk/issues/44666): Use null safety in

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.type-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions