Skip to content

[java] Make symbol table support instanceof pattern bindings #3750

@oowekyala

Description

@oowekyala

Pattern matching constructs like if (a instanceof Type b) are flow-sensitive, which makes it a bit harder to implement their scoping rules. This should be handled by symbol tables. I have a very old branch with an implementation, will update it.

This issue is split off from #2701

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rulesin:symbol-tableAffects the symbol table code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions