Skip to content

JSpecify: better handle conditional expressions when discovering assignment context #1477

@msridhar

Description

@msridhar

In JSpecify mode, there are a couple of places where we need to get a type for an expression from its assignment context (e.g., for constructor calls using the diamond operator). We have not yet added handling for the case when such an expression is inside a ConditionalExpressionTree; we should do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    jspecifyRelated to support for jspecify standard (see jspecify.dev)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions