Open staabm opened 6 months ago
I found these snippets:
Simplified: https://psalm.dev/r/4998359b55
The root issue seems to be -1|positive-int
getting wrongly converted to int<-1, max>
.
Technically it isn't wrong, just more general than it needs to be.
I found these snippets:
this should not error https://psalm.dev/r/808fd263bd