Skip to content

Implementation of NNBD strong checking mode in the VM #38845

@liamappelbe

Description

@liamappelbe

Support the strong nullability checking modes in the VM.

The strong checking mode is set globally via a command line flag (this flag doesn't exist yet). The checks also depend on whether a library is opted in or not. We also want to support a debugging mode that mixes weak and strong, aborting if the weak check passes but the strong check fails (to help users migrate their libraries).

Part of #37479

Dependent issues -

Migrate "dart:profiler" tests to NNBD #40142
Migrate "dart:developer" tests to NNBD #40140
Migrate "dart:typed_data" tests to NNBD #40139
Migrate "dart:convert" tests to NNBD #40138
Expect.type([null] is! List) fails on Instance(length:1) of '_GrowableList' #39820

Metadata

Metadata

Assignees

No one assigned

    Labels

    NNBDIssues related to NNBD Releasearea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.vm-nnbd-sdk-completeAll new NNBD and ported NNBD tests pass

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions