Inference problem with findall

I thought about it but it was working on julia 1.6, what is going on 1.7 ?