Daniil Gentili
Daniil Gentili
You just need to change the assertion layout a bit: https://psalm.dev/r/e9953d77a7
Precisely what I need for the `checked` field of Atomic in my immutable refactoring :)
Whoops, I meant https://psalm.dev/r/82163ab6b7 :)
That's the point, weird how a !falsy is buggy but a !null assertion isn't
Huh, my bad, I'm apparently blind, must've been an issue on my outdated fork which I didn't notice had disappeared in the psalm.dev REPL :)
Whoops, yes it is :)
^, this makes no sense, I don't think this is even a bug
Same here with 2.3.3.
This can be easily reproduced as follows: - Configure each instance to set itself as replica - Start all instances - Stop one instance - Every other instance crashes with...
Actually just `!$hashesMatch & !$patternMatch` works