Skip to content

In JSpecify mode, reason about array contents nullability in for-each loop over array #983

Closed

Description

@msridhar

See test case forEachLoop() in #982. We don't properly reason that when the array contents are @Nullable the for-each loop variable is @Nullable.

Activity

  1. added
    jspecify
    on Jun 19, 2024
  2. added a commit that references this issue on Jun 22, 2024
    3ae9b23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

jspecify

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions