Skip to content

[reader-v2, layout reader] Nullable struct layouts are unsound #6162

@joseph-isaacs

Description

@joseph-isaacs

We currently we partition expressions over a struct layouts ignoring the struct validity. This causes undefined values to be examined by the inner expression.

The other problem is we cannot round trip a file with type {a: {b: i32}?} we get back {a: {b: i32?}?}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions