Thanks to visit codestin.com
Credit goes to github.com

Skip to content

incorrect type inference with dependent types #14211

@claudepache

Description

@claudepache

Bug report

Regression introduced by phpstan/phpstan-src@c5bfadb

See code snippet.

Code snippet that reproduces the problem

https://phpstan.org/r/2c32da67-4483-4893-bdb3-81906ffc4461

Expected output

Line 17: Dumped type: true

Did PHPStan help you today? Did it make you happy in any way?

No response

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions