Skip to content

Constant values not interpreted when using match expression #4206

@pmall

Description

@pmall

Bug report

See title

Code snippet that reproduces the problem

https://phpstan.org/r/92869fd0-4718-491b-addd-8cf15a29f3a1

Expected output

No error

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