### Describe the Bug When places in the code should never arrive, I do put `assert False` to cut the branch, but it's not taken into account after switching to pyrefly. ### Sandbox Link https://pyrefly.org/sandbox/?code=FAEwpgZgBBCWA2YD6B7ADmAdkgti8AFLAFxQDOALgE4CUUAtAHznXHBQdSzSxQC8fKAHIqQtpwlQqYCgFcqmLu07cu-QUIDuY5ZKkz5i2LqgBDMmTBUKUAGKn4lgDRQARADkUFABaxMAcxgUWUwQVygAYigAERQwMkwhG00UKgBrYEzwaDhEVAxsPEISFloGZkoqcRUedWFRar1pOQUlCVVeAWFtRslmwzbOKlNYSygANQdZMABRKipUglcKLxRXOiiU9LIoNAWMKngAT0ygA ### (Only applicable for extension issues) IDE Information _No response_