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

Skip to content

VM is not using opt-in status to default sound mode with a package in the allow list #43243

Closed
@natebosch

Description

@natebosch

The allow list signals that any file within a package (including outside of it's lib/) may use the non-nullable experiment. This is working correctly in the CFE - the code is parsed as opted in.

This is not working correctly to choose whether to run with sound null safety or not. The intended behavior is that if the entrypoint library is opted in, then run with sound null safety. This was the behavior before. With the latest dev SDK the actual behavior is that --enable-experiment=non-nullable is still required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NNBDIssues related to NNBD ReleaseP2A bug or feature request we're likely to work onlegacy-area-front-endLegacy: Use area-dart-model instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions