Skip to content

DDC: Implement null spread element typing with null-safety #42759

Closed
@eernstg

Description

@eernstg

Cf. dart-lang/language#1079, Never is the inferred element/key/value type of a spread element of the form ...?e where the static type of e is a potentially nullable subtype of Null, and Never is also the inferred element/key/value type of ...e where the static type of e is a subtype of Never.

DDC currently reports several errors for the associated tests: https://dart-review.googlesource.com/c/sdk/+/154693.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NNBDIssues related to NNBD Releasearea-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-dev-compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions